Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dataenvironment
Message
De
03/01/2004 07:14:52
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
03/01/2004 06:22:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00862976
Message ID:
00863629
Vues:
21
>Hi Fred,
>
>I don't used that commands in the form.
>I even try i with a new clean form and it give me the same results.
>Strange is that when i use your solution and in state of a property i use a global var. then it works ok, but i don't get wy it works by you.
>When i look with the debugger i see that when at the point of the return lFileOpen the form is not an complete object at that time.
>So, does the property you make in code exist at that time or not ?
>
>Regards,
>Jan

PMFJI,
If you're using a form with dataenv. this would be an easy solution :
*DE.Error
LPARAMETERS nError, cMethod, nLine
If nError=1995
  this.Parent.Tag = 'fail'
endif

*Form.Init
If this.Tag= 'fail'
 wait window timeout 3 "failed to load tables"
 Return .f.
endif
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform