Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Passthrough Command
Message
 
 
À
17/02/2002 20:58:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00621388
Message ID:
00621402
Vues:
8
This message has been marked as the solution to the initial question of the thread.
Check if you're using the latest version of VFP ODBC driver (6.01.8629.01). Also try
csql = [Select * from accounting!datacenter where STR(dcno) = STR(1)]
>I already tried this command
>
>csql = [Select * from accounting!datacenter where dcno = 1]
>
>
>the field dcno has a data type I(4). The value one exist in the base table and is being displayed when the following command is executed.
>
>csql = [Select * from accounting!datacenter]
>
>It's kinda weird and I can't seem to find an explanation why it does not work with the first command.
>
>I tried to filter it with other field that exist in the table and it works.
>
>csql = [Select * from accounting!datacenter where abbrev = 'ES']
>
>this command displayed a single record with the DCNO = 1 that I am trying to display with the first command...
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform