Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to trap when an index is on a second table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01033041
Message ID:
01033067
Vues:
23
Sergey,

Just to make sure that I am communicating clearly.

What you suggested - is what I am trying to do and what my question was about.

My question I guess to rephrase it:

If the client has hundreds of tables in many directories. How do I scan through all of these in a somewhat timely manner programaticly and find where this ridiculous scenario exists.

IF the testabc.dbf did NOT exist THEN I would get an ERROR()
Error message: File 'c:\testdir\testabc.dbf' does not exist.

IF the testdef.dbf does NOT exist -- I do NOT get an ERROR() just a msgbox that the alias does NOT exist
(the one used with the index key)

In your response before are you saying that this error can not be identified and trapped.

I could open each table and then from an array go through each index phrase and look for the wrong alias
I just thougt I would get an error back - which would allow for me to tell the user - this is a bad idea and there is a potential of never being able to open this file etc.

Darrell
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform