Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Master File Lookup
Message
From
10/07/2001 07:33:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
10/07/2001 07:27:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00528517
Message ID:
00528519
Views:
17
>The common code should be saved in a class. Use a container, which can contain more than one object, depending on your needs. Use a container by all means, so you can expand later (without changing all your forms).
>
>The lookup variables (name of table, field(s) to show user for selection) should be placed in properties.
>
>F1 should be reserved for "Help", since this is what many users expect.
>
>Regards, Hilmar.

The framework I use sends parameters to a standard lookup form, with an (initially empty) grid. Incremental search is supported.

More than one field (or expression) names are sent as a single parameter, separated with ";". Descriptions are sent in a separate parameter. The standard form has, among other things, a button to invoke the associated form (e.g., if the user looks up a client, and the client doesn't exist yet, the user can immediately create a new client, in the client form).

All this is quite ambitious (which is why you should consider buying a framework), but I hope I have given you some ideas.

Regards, Hilmar.
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
Reply
Map
View

Click here to load this message in the networking platform