USP_DATAFORMTEMPLATE_VIEW_AUCTIONITEMCOPYPAGEEXPRESSION
The load procedure used by the view dataform template "Auction Item Copy Page Expression View Form"
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | uniqueidentifier | IN | The input ID parameter used to load the fields defined on the form. |
@DATALOADED | bit | INOUT | Output parameter indicating whether or not data was actually loaded. |
@ORIGINALID | uniqueidentifier | INOUT | ORIGINALID |
@NAME | nvarchar(100) | INOUT | NAME |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_AUCTIONITEMCOPYPAGEEXPRESSION
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@ORIGINALID uniqueidentifier = null output,
@NAME nvarchar(100) = null output
)
as
set nocount on;
set @DATALOADED = 0;
select
@DATALOADED = 1,
@ORIGINALID = AUCTIONITEM.ID,
@NAME = AUCTIONITEM.NAME
from dbo.AUCTIONITEM
where AUCTIONITEM.ID = @ID
return 0;