Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want an error for VFP Open dialog
Message
From
12/03/2004 13:23:01
 
 
To
12/03/2004 13:10:18
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00885697
Message ID:
00885710
Views:
26
You should always get an error as SELECT 0 will select the first unused work area, meaning there will never be a table open there, so ALIAS() will return an empty string.
No error occurs.

My message is a simple example for repro the behaviour.

My problem is clear:
if my application go into a bad path, and the current workarea is empty,
commands like:
SELECT .... FROM currentworkare
go top
seek expression
filter ...
bla bla bla .... bla
non fire a error, but open a dialog.
With alias fixed, the problem is introduced however:
SELECT * from ambarabaciccicocco
i get this:
- open a dialog
- if i push cancel, then it fire a error.
I do not want that VFP open the dialog

Thanks

Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform