USP_DATAFORMTEMPLATE_EDITLOAD_MAPINSTANCE
The load procedure used by the edit dataform template "Map Instance Edit Form"
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | uniqueidentifier | IN | The input ID parameter used to load the fields defined on the form. |
@NAME | nvarchar(100) | INOUT | Name |
@DESCRIPTION | nvarchar(1000) | INOUT | Description |
@MAPCATEGORYCODEID | uniqueidentifier | INOUT | Category |
@MAPINSTANCEXML | xml | INOUT | Map instance XML |
@DATALOADED | bit | INOUT | Output parameter indicating whether or not data was actually loaded. |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_EDITLOAD_MAPINSTANCE(
@ID uniqueidentifier,
@NAME nvarchar(100) = null output,
@DESCRIPTION nvarchar(1000) = null output,
@MAPCATEGORYCODEID uniqueidentifier = null output,
@MAPINSTANCEXML xml = null output,
@DATALOADED bit = 0 output)
as
set nocount on;
select @DATALOADED = 1,
@NAME = NAME,
@DESCRIPTION = DESCRIPTION,
@MAPCATEGORYCODEID = MAPCATEGORYCODEID,
@MAPINSTANCEXML = MAPINSTANCEXML
from dbo.MAPINSTANCE
where ID = @ID;