Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show Browse at run time?
Message
From
08/02/2009 20:27:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
08/02/2009 20:20:57
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01380196
Message ID:
01380199
Views:
71
>Hi,
>
>Is there a way to include a command like Browse in my .EXE that would show records in a cursor? I am looking for a quick and dirty method.

You can include the BROWSE command directly.

Something I did in Bata/Bolivia, for some client-site-debugging stuff, is include a form with an EditBox, to write code in, and an option to compile and run the code. Of course, in many cases it is necessary to have some control over access rights. - In such a form, I could easily write something like:
use ArticleMain
browse for ArtCode = "12345"
and then press the "Run" button on the form.

If this is of interest to you, I can search for the source code - which is certainly quite simple. (Run-time compilation was made available with VFP 6, SP3).

If it is specifically a BROWSE you are looking for, BROWSE is, of course, a quick-and-dirty solution, but a Grid in a Form will possibly allow more control over certain details.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform