Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can a tag be removed from a cdx
Message
From
17/07/2000 11:05:06
 
 
To
17/07/2000 10:56:57
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00393294
Message ID:
00393299
Views:
14
Deleting the index won't solve your problem. The reason it can't find the long field name is because that field has been renamed to be shorter. If you want to have a table be free at some point, you need to use short field names.

Michelle


>I'm trying to create a routine that frees up a table from a DBC programmatically.
>
>Using VFP 6, I issue a "FREE TABLE mytable". This works.
>
>The problem I'm having is that "mytable" has long field names and one index tag that is based on a long field name. The first time I "USE mytable", I get error "Variable 'mylongfieldname' is not found.".
>
>How can I suppress this error message from showing? Or how can I delete the tag(s) and re-create them without user intervention?
>
>Thanks,
>
>Jerryt
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform