>
> 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?
Could it be that the memvar that you assign as the controlsource is out
of scope?
Maybe try to use a property of the form, or a global variable.
HTH,
Marc
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.