>
> >>I am creating some text boxes
> on the fly in a form Init. I can set the control sorce to a field. I can
> set the control source of an existing text box to the memvar but get a
> message "Data source for this object must be a variable reference". Anyone
> got any ideas?
> >
> >If you create a memvar in Init(), it won't be viewed outside.
> >
> >You need to create a form property and you will be able to see it.
>
> Another tip I got (from the UT!) on doing this is to create a cursor, say
> in the Init() of the form,
Ahem. Not in the Init, in the Load, otherwise you will not be able to
use it as a controlsource.
to hold your variables. The contents of the
> cursor are available from all methods of the form. Don't forget to destroy
> the cursor.
If you use private datasession, you do not even have to care about that!
Thanks again for your WF routines, they work great!
Marc
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.