G
Guest
Hi there.
I have a subform with an ID number on it and when I open another form, I
want to pass to this form the ID number on the previous sub form. When I run
the following code:
me.lngWindID = Forms!frmClients!frmWindow_sub.Form.lngWindID
I get "You can't assign a value to this object"
I have tried an unbound text box on the second form to capture the id
number, which it does, but still will not allow me to assign a value to my
field "lngWindID".
What am I doing wrong? Should I be using the openargs property?
Thanks,
John
I have a subform with an ID number on it and when I open another form, I
want to pass to this form the ID number on the previous sub form. When I run
the following code:
me.lngWindID = Forms!frmClients!frmWindow_sub.Form.lngWindID
I get "You can't assign a value to this object"
I have tried an unbound text box on the second form to capture the id
number, which it does, but still will not allow me to assign a value to my
field "lngWindID".
What am I doing wrong? Should I be using the openargs property?
Thanks,
John