>hi friends
>i am using sql server2000
>form design time i have used cursor adapter in dataenvironment
>but some wrong in my command bcoz cursor not created
>what command is wrong ,please help me
>local wcode
>wcode=10
>text to .selectcmd noshow
>select * from dchallan where c_code=?wcode
>endt
Debug the error!
Put this code in your CA object in AfterCursorFill Event
LPARAMETERS luseCursorSchema, lNoDataOnLoad, cSelectCmd, lResult
IF NOT lresult
AERROR(arr)
MESSAGEBOX(arr[1,2])
ENDIF
and post the result.
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst