Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Tip o' the Day
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00361872
Message ID:
00361998
Views:
13
>>>Yea, that's usually what I do, except I do the index and requery in the form.Init. Not that either is wrong, just preference.
>>>
>>
>>But If you have a grid pointing to this view, you get the grid evaluated twice, one for his own grid init and second for the form init.
>>
>>I prefer do this in the Load
>
>I don't quite follow Pablo. What do you mean when you say it gets evaluated twice?

Well, as far as I know, the form init is runned after all the inits of every control, then if you set in desing time the recordsource to the view, this is done before you form.init ..... but I'm thinking if there is no data till the form init will run well.
Pablo Roca
Clavo Congelados, S.A. (La Coruna - Spain)
Sysop of PortalFox

Join MasFoxPro campaign
http://www.masfoxpro.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform