USP_DATAFORMTEMPLATE_VIEW_QUERYVIEWPAGEEXPRESSION
The load procedure used by the view dataform template "Query View 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(255) | INOUT | Name |
Definition
Copy
create procedure dbo.USP_DATAFORMTEMPLATE_VIEW_QUERYVIEWPAGEEXPRESSION
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@NAME nvarchar(255) = null output
)
as
set nocount on;
set @DATALOADED = 0;
with xmlnamespaces ('bb_appfx_queryview' as tns, 'bb_appfx_commontypes' as common)
select
@DATALOADED = 1,
@NAME = Q.DISPLAYNAME
from dbo.QUERYVIEWCATALOG AS Q
where Q.ID = @ID;
return 0;