Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set order to tag ?
Message
De
23/01/1997 05:15:54
Kevin Wang
Ministry of Water Resources
Beijing, Chine
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Groupes d'usagers
Divers
Thread ID:
00018149
Message ID:
00018168
Vues:
40
>>I create my.dbf and it's cdx file in foxpro 2.5 for windows. the cdx file contain tag named 'key1_tag'.
>>I use this dbf very well in foxpro 2.5 for windows.
>> but when I use it in visual foxpro 3.0 it cause an error. I write :
>> If !used('my')
>> use my.dbf
>> set order to tag key1_tag
>> else
>> select my
>> endif
>>
>> I run it in vfp3.0 , it show the error message 'Variable 'key1_tag' is not found'. I check my
>>path but my.dbf and cdx are there.what happened?


sorry,I have something wrong in my first letter. the dbf file and its' cdx file are built in C language file. several years ago,we use C file to send data into dbf file and we use foxpro 2.5 application system to query the data. In foxpro 2.5, it opens the dbf and cdx file fine and works very well. today, we want to use visual foxpro 3.0 to update the application system. we open the dbf file fine but when I use 'set order to tag key1_tag' it cause an error 'Variable 'key1_tag' is not found''. I don't
know what happened.
I create a dbf file in vfp 3.0 and try to open it in foxpro 2.5,but it
can't be open! this must have some relations to my current problem.
In C language file, it is only a system function to create the dbf and cdx file. I think it is difficult to modify the C language file. What can I do?
How to solve the problem?

Thank&Regards
Kevin Wang

Programmer&Analyst
Ministry of Water Resources
No.1,Baiguang Road
Beijing,China
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform