Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stop browse after one entry
Message
From
29/05/2009 15:20:31
 
 
To
29/05/2009 14:07:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01402658
Message ID:
01402673
Views:
65
>Is there a command i can issue that would allow only one change to browse function.
>example
>browse fields one, two,three,four freeze two
>
>i would like that once an entry has been made to the first 'two' field selected by the user, the browse window will close.
>
>thanks
>
>k
I haven't used a BROWSE window in an application in a very long time and agree with Ed about using a grid. If you want to keep the interface You might try something like
BROWSE FIELDS one,two :V = browclose(),three,four FREEZE two

FUNCTION browclose
KEYBOARD '{ESC}'
RETURN .t.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform