Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql server Stored Procedure Help
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00589800
Message ID:
00589828
Views:
17
The order of parameters is incorrect
lnResult=SQLEXEC(gnConnHandle,"exec sp_DisplaySchedule ?gdLoadF,?gdLoadT, ?<b>gnViewDept</b>")
>VFP Code:
>
>
>
>gdLoadF=DTOC(DATE())
>gdLoadF=CTOT(gdLoadF+" 00:00:00")
>
>gdLoadT=DTOC(DATE())
>gdLoadT=CTOT(gdLoadT+" 23:59:00")
>
>lnResult=SQLEXEC(gnConnHandle,"exec sp_DisplaySchedule ?gnViewDept,?gdLoadF,?gdLoadT")
>
>IF lnResult < 1
>   aError(lcErrtxt)
>   DO disperr
>ENDIF
>
>
>
>
>Thanks
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform