Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Passthrough Command
Message
De
17/02/2002 22:24:19
 
 
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:
00621414
Vues:
9
Hi Sergey,

There's something unusuall about the code below

csql = [Select * from Accounting!datacenter where dcno = 1]

I tried to change the connection of the odbc to a copy of the accounting database and when I tried to execute the code above, it displayed the correct record. To further test the result, I returned to ODBC Manager and change to connection to the original database and when I tried to execute the command, it displayed no record. I'm thinking if there is something wrong with my database not the syntax, I tried to verify the fields that were on the original database vs the fields on the other copy and they are only the same. They both have a table name Datacenter with data type I(4), index on dcno, allowing null values...

the databases are located on different folders.
the one that works is located on my server G:\MYSystem\SystemHelp\MicroFilesCP
the other that does not work is at G:\MYSystem\SystemHelp\FilesCP
Music Rocks www.musicreserve.blogspot.com
Success is 1% Inspiration & 99% Perspiration
God Sometimes Delays His Help to Test Our Faith and Energize Our Prayers
Our Boat May Be Tossed While He Sleeps, But He Wakes Up Before it Sinks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform