Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alter Table
Message
From
11/05/2007 09:59:31
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01224484
Message ID:
01224600
Views:
22
>>Hi all,
>>
>>I have to do an Alter Table command on an indexed table. Am I loosing the index when I do that? And if so, how can I avoid it?
>
>
>AFAIK No. There is no warning of such in Help, I've never heard of it and, indeed, I['ve done many an ALTER TABLE without even considering this.
>
>Howevr, if your alteration produces a new index, or, say, deletes a field that is already indexed, then obviously this will have an effect on your CDX file.
>
It works differently for tables and cursors. What you describe is true for tables, while cursors will lose index for any ALTER TABLE command.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform