Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speed w/ large VFP Tables
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00237564
Message ID:
00238408
Views:
12
>We are trying to find a way to speed up our APP at a clients site.
>
>Client:
>[snip]

Shawn -
here's a good concept that works:

1. Make the views you need REMOTE views with parameters. In the filter condition tab of the view designer - change the field name to something meaningful for that table, condition equals [=] and then in the Example place '?vp_cqueryval'.

2. In the data environment for the form, add that parameterized remote view.
In the data section of the PEM box set the 'NoDataOnLoad' to TRUE [.T.]

Then, after your form instantiates - your user would enter a client number
in the textbox, and in the click method of the button you assign the vp_cqueryval variable to the number that they typed in, and then issue a requery.

If it takes a long time for this, then your table isn't indexed properly.

hth [Bill]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform