USP_DATAFORMTEMPLATE_EDITLOAD_HOUSEHOLDSCANBEDONORS
The load procedure used by the edit dataform template "Households Can Be Donors Edit Form"
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @DATALOADED | bit | INOUT | Output parameter indicating whether or not data was actually loaded. |
| @HOUSEHOLDSCANBEDONORS | bit | INOUT | Households can be donors |
| @TSLONG | bigint | INOUT | Output parameter indicating the TSLONG value of the record being edited. This is used to manage multi-user concurrency issues when multiple users access the same record. |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_EDITLOAD_HOUSEHOLDSCANBEDONORS
(
@DATALOADED bit = 0 output,
@HOUSEHOLDSCANBEDONORS bit = null output,
@TSLONG bigint = 0 output
)
as
set nocount on;
select top 1
@DATALOADED = 1,
@HOUSEHOLDSCANBEDONORS = HOUSEHOLDSCANBEDONORS,
@TSLONG = TSLONG
from dbo.HOUSEHOLDINFO
order by DATEADDED
return 0