Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use Parameter in cursor adapter(dataenvironment)
Message
 
À
10/10/2006 13:02:19
Arjun Bagojikop
Dynamic Super Software
Sangli, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01160929
Message ID:
01160948
Vues:
7
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform