View Full Version : set value


Mallen
03-25-2002, 12:49 PM
I am using the set value command to fill a field in a form(form2) from a field in a subform. I am using a macro attached to the after update property on the subform. Every time it runs a get an error "can't find form". Any suggestions?

not_rich_yet
03-26-2002, 10:21 AM
Hmm, could be worth dumping the way you're doing this and trying to use the ControlSource property of the control you wish to put data into from the other form...

Eg I have a main form with a date on which I wish to be placed into a text box on the subform. I have the ControlSource of the subform textbox pointing to the text box on the main form....Whenever I open the form or change the date on the main form the text box on the subform displays this change....

Also worth checking your syntax and maybe using the expression builder window to get it right.

nry