Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to show Browse at run time?
Message
De
08/02/2009 20:27:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01380196
Message ID:
01380199
Vues:
70
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform