Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set order to tag ?
Message
 
To
22/01/1997 21:27:15
Kevin Wang
Ministry of Water Resources
Beijing, China
General information
Forum:
Visual FoxPro
Category:
User groups
Miscellaneous
Thread ID:
00018149
Message ID:
00018167
Views:
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?
>

First, try something inside the VFP3.0 command window:
1. enter the command [use my]
2. if open the table successfully, enter the command [set order to tag
key1_tag]
3. if open the index successfully, please this pharse into your program before open the table: set default to "THE FULL PATH OF YOUR TABLE AND INDEX FILE". For example: set default to c:\mydbf\
I think the problem is caused by invalid path.

Secondly, if the above method wouldn't work, perhaps you can try to re-create your index file by VFP3.

Sunny
Can you live without the earth?
Please remind that :
"Yung Hung" is my first name;
"Yeung" is my last/family name.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform