Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
101 VFP7 thing, Part 2
Message
From
05/12/2000 00:08:20
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
04/12/2000 23:52:37
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00448960
Message ID:
00449184
Views:
20
>>>Ok, Part 2,

part 2.6 here :)
Just couldn't keep myself from sharing this, seeing the other thread (#449133) where someone needs to programmatically modify the structure of a table. For free tables, my favorite approach was to create a cursor with identical structure, modify the structure of the cursor (including new cursors as needed) and eventually copying all the records over the initial table.

Now there was the issue of the indexes, which had to be rebuilt - we had to keep all the index info for each of the tags, storing them all into one big array or several individual arrays, to keep track of tag names, index expressions, filter expressions, and several clauses like Unique, Primary, Candidate, Ascending/descending etc.

Well, done with that - there's a great new VFP7 function, aTagInfo() which stores all of this info into a five-column array.

Well, I could count the treats for another hour... I'd better get some sleep :)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform