Guys...
>
>I want to know ...
>where should i put the first statement...
>Is it on the form load
>or the form init...
>
>What's the different of it...
>
>CAuse i try both..
>It's seems there's no different...
>
>Thanks...
>
>regards,
>tut_arie
Hi Tut,
Depends what you want to do. Somethings don't matter, but others do. Just remember that Form.Load fires before any controls on the form get created or initialized. Form.Init fires AFTER all of the form controls get initialized. So, if you are manually opening any data sources your controls are bound to, they need to be opened and made available in the Form.Load.
HTH,
- Brian
VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)
www.wulfsden.com