Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show Browse at run time?
Message
 
 
To
08/02/2009 20:27:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01380196
Message ID:
01380203
Views:
47
>>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.

Thank you. The program where I want to Browse records has NO form. It is just a .PRG file. So far I tried to call BROWSE in the PRG and it does not work. So I guess I must have a form for that.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform