Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters in Load events
Message
 
To
16/12/1999 16:55:05
Alvin Potot
Rhine Marketing Corporation
Cebu, Philippines
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00304890
Message ID:
00304962
Views:
29
>Here's the code in the Load event
>
>LPARAMETER lcCode, ldDate
>
>SELECT entry
>SET FILTER TO code == lcCode AND date == ldDate
>
>I believe I can't put that in the Init event, not with the filtered records correctly shown as with the filter in effect.

Alvin,

You can do that, but you haven't yet finished it;
LPARAMETER lcCode, ldDate

SELECT entry
SET FILTER TO code == lcCode AND date == ldDate

* Move the record pointer to "set" the filter
LOCATE

* Refresh the grid's diaply
Thisfrom.Grid1.Refresh()
But please read my other reply or else you build a great form that choke and die on you when the data gets larger.
Previous
Reply
Map
View

Click here to load this message in the networking platform