USP_DATAFORMTEMPLATE_VIEW_SMARTFIELDPAGEEXPRESSIONDATA
The load procedure used by the view dataform template "Smart Field 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(100) | INOUT | Name |
@HASPARAMETERS | bit | INOUT | Has parameters |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_SMARTFIELDPAGEEXPRESSIONDATA
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@NAME nvarchar(100) = null output,
@HASPARAMETERS bit = null output
)
as
set nocount on;
set @DATALOADED = 0;
with xmlnamespaces ('bb_appfx_smartfield' as tns, 'bb_appfx_commontypes' as common)
select
@DATALOADED = 1,
@NAME = S.DISPLAYNAME,
@HASPARAMETERS = S.SMARTFIELDSPECXML.exist('tns:SmartFieldSpec/common:FormMetaData')
from dbo.SMARTFIELDCATALOG AS S
where S.ID = @ID;
return 0;