Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transferring FindForm criteria to edit form
Message
 
To
29/03/2001 10:44:24
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00489881
Message ID:
00489999
Views:
10
>All,
>
>I am looking for suggestions as to how I could take search criteria from a FindForm and use it to populate a newly added record in my edit form. I was thinking of creating criteria views to collect search criteria in the FindForm and using the fields to populate the edit views.

Hi Rex,

I just overhauled a big chunk of an app because the number of parameters passed from form to form was growing beyond what I would deem acceptable (not the same as you, but pretty simmilar... keep reading).

I ended up creating a "token" object (based on the Line class for lightness).

Instead of passing parameters around, I'm assigning the values I used to pass to properties in this object and every form in the system takes or modifies only what it's supposed to.

Do you like this idea?

Alex
Low-carb diet not working? Try the Low-food diet instead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform