USP_DATAFORMTEMPLATE_VIEW_EVENTMULTICOMPONENTPAGEEXPRESSION
The load procedure used by the view dataform template "Event Multi-Component 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. |
| @NAME | nvarchar(205) | INOUT | NAME |
| @MAINEVENTNAME | nvarchar(100) | INOUT | MAINEVENTNAME |
| @MAINEVENTID | uniqueidentifier | INOUT | MAINEVENTID |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_EVENTMULTICOMPONENTPAGEEXPRESSION
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@NAME nvarchar(205) = null output,
@MAINEVENTNAME nvarchar(100) = null output,
@MAINEVENTID uniqueidentifier = null output
)
as
set nocount on;
set @DATALOADED = 0;
select
@DATALOADED = 1,
@NAME = EVENT.NAME,
@MAINEVENTNAME = dbo.UFN_EVENT_GETNAME(EVENT.MAINEVENTID),
@MAINEVENTID = EVENT.MAINEVENTID
from
dbo.EVENT
where
EVENT.ID = @ID;
return 0;