Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Logical field in VFP and ADO
Message
 
À
18/12/2000 18:46:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00454868
Message ID:
00455009
Vues:
25
If you are sending queries, just create a string. For example:

oConn.Execute("Select * from x where y = .t.")

As long as you encapsulate the query in a string, you can handle things - regardless of environment...

< jvp >



>I have a logical field in one of the tables in my VFP database. I am trying to access the my database via ADO/ODBC connection and vbscript. While doing so, I am having to use .T. and .F. for true and false value in my queries to make VFP (ODBC driver) recognize my queries properly. I also have the database uploaded to Oracle and my scripts dont work because .T. and .F. are VFP specific. How is this issue generally handled? Is there any other way to address the true and false values in VFP?
>
>Thanx
>Gnana
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform