Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping LOCATE DB Error
Message
De
25/02/1999 06:27:25
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
22/02/1999 19:58:46
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00190235
Message ID:
00191325
Vues:
27
>I have done that for previous apps but it requires the machine to have VFP or some DBF editor on their machine. I install most of my apps myself and want a quit way to change the path without having to use anything more than NOTEPAD.
>
>I just found a note about using DEFAULT= "your path here" in the CONFIG.FPW and now have that working.
>
>
>I am still stuck on trapping LOCATE DB ERROR. If a DB or table is not in the specified PATH (or more usually, the PATH is bad) VFP must have some way to trap the resulting message before it appears. I checked error codes 1105,1554,1736 but as I mentioned previously, my ERROR HANDLER procedure is not being invoked at all. VFP must consider this more of a notification than an error.

Maybe your form (or form class) has something in its error methods. If it has, it will fire before any general On Error routine. Why don't you put a simple Wait window in form.error, to start with?

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform