Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
101 VFP7 thing, Part 2
Message
De
05/12/2000 00:08:20
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
04/12/2000 23:52:37
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00448960
Message ID:
00449184
Vues:
15
>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform