Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best index way
Message
From
11/12/2006 12:23:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01176574
Message ID:
01176595
Views:
10
>hi all
>I use cdx file for indexing. If other way to indexing please tell me
>
>Use student
> Index On descr Tag descr
> Index On code Tag code
> Index On lcode+descr Tag lvldes
> Index On surn Tag surn
> Index On scode Tag scode
> Index On lcode Tag lcode
> Index On sex Tag sex
> Index On fname Tag fname
> Index On joind Tag joind
> Index On dbirth Tag dbirth
> Index On roll Tag roll
> Index On tobt Tag tobt
> Index On mont Tag mont
> Index On ldate Tag ldate
> Index On aattend Tag aattend
>Index On scode+lcode+sec Tag sls
>

I create all my indices with the MODIFY STRUCTURE command.

To update changes to the database - new fields, changes in indices, etc. - I use the following method:

All changes to the database are done in a copy of the database that has zero records. To merge (combine) this with the user data, I have a program that does an APPEND FROM for each table.

This is done in temporary folders, and then copied back to the location of user data.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform