Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dataenvironment
Message
From
03/01/2004 07:14:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/01/2004 06:22:46
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00862976
Message ID:
00863629
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform