USP_DATAFORMTEMPLATE_VIEW_COUNTRYADDRESSFORMATDETAIL
The load procedure used by the view dataform template "Country Address Format Detail View"
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. |
@FORMATSTRING | nvarchar(max) | INOUT | Format string |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_COUNTRYADDRESSFORMATDETAIL
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@FORMATSTRING nvarchar(max) = null output
)
as
set nocount on;
set @DATALOADED = 0;
select @DATALOADED = 1,
@FORMATSTRING = FORMATSTRING
from dbo.COUNTRYADDRESSFORMAT
where ID = @ID
return 0;