USP_DATAFORMTEMPLATE_VIEW_LOCALE

The load procedure used by the view dataform template "Locale 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.
@LOCALEID int INOUT LOCALEID
@NAME nvarchar(100) INOUT NAME

Definition

Copy


                CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_LOCALE (
                    @ID uniqueidentifier,
                    @DATALOADED bit = 0 output,
                    @LOCALEID integer = null output,
                    @NAME nvarchar(100) = null output
                )
                as begin

                    set nocount on;

                    set @DATALOADED = 0;

                    select
                        @DATALOADED = 1,
                        @LOCALEID = LOCALE.LOCALEID,
                        @NAME = LOCALE.NAME
                    from
                        dbo.LOCALE
                    where
                        LOCALE.ID = @ID

                    return 0;
                end