added LSL2 stored procedures
This commit is contained in:
18
LSL2/STPROC/TEST_COPY_RECORD.txt
Normal file
18
LSL2/STPROC/TEST_COPY_RECORD.txt
Normal file
@ -0,0 +1,18 @@
|
||||
Compile subroutine Test_Copy_Record(Table, Key, Output)
|
||||
|
||||
Declare function Copy_Record_To_SQL
|
||||
|
||||
Ans = Copy_Record_To_SQL(Table, Key)
|
||||
|
||||
If Len(Ans) then
|
||||
If Assigned(Output) then
|
||||
Begin Case
|
||||
Case Output EQ "MSG"
|
||||
Call Msg(@Window, Ans)
|
||||
Case Len(Output)
|
||||
OSWrite Ans to Output
|
||||
End Case
|
||||
end
|
||||
end
|
||||
|
||||
return
|
Reference in New Issue
Block a user