>I create a cursor in the init phase of the form. If the init phases of my controls fire, I'm getting errors that the controlsource doesn't exist yet because the init of controls is before the init of the form. I can solve it by setting the controlsource of the control in the init fase of the form. How can I do this without this trick. I need this because I want us to be able and past controls (from the classes) on to a form without having to modify it's init phase.
Jeroen
How about basing your datasource on a parameterized view? Open it in the load() event, set its NodataOnload property to .T. and do your REQUERY() once you have the appropriate parameters.
José