Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What to log when alias is not open?
Message
De
09/11/2016 16:25:30
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01642948
Message ID:
01643008
Vues:
36
J'aime (1)
>Since the cursor that is not open is always associated with the certain BIZ object (Cursor Adapter object), I will probably check if the BIZ object is instantiated and some other properties of this BIZ object. Hopefully this will help to track the problem.
>Any comments/input would be appreciated.

My approach is to use my own cursor adapter class, where every after*() method (at least) in the adapter's events is overridden, and then if the lResult=.f., I issue an aError(ee) and then check what the error was. At least this is how I catch the SQL errors - never tried this with dbfs.

And I'm not opening the alias and then attaching (it to) a CA; I'm instantiating a CA which will open it.

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