Hi I'm trying to pass a value from a mainform combo box to a subform text box.
When the form first loads it works fine (thanks to help from this forum) but when I add that same code to the after update
on the combobox I get an error message
[bold]438 Object doesn't support this property or method[/bold]
Here is the code I used
Where cbolookup is on the mainform and txtcboselected is a textbox on the subform.
I've tried a lot of variations on the syntax and keep getting the same message.
Any one see what I"m missing?
I also tried to use tempvar!tvUser and it works on the main form but I still can't pass the value to the subform.
Thanks in advance
Lhuffst
When the form first loads it works fine (thanks to help from this forum) but when I add that same code to the after update
on the combobox I get an error message
[bold]438 Object doesn't support this property or method[/bold]
Here is the code I used
Code:
Forms![frmMainTab]![frmReports].Txtcboselected = Me.cboLookUp.Value
Where cbolookup is on the mainform and txtcboselected is a textbox on the subform.
I've tried a lot of variations on the syntax and keep getting the same message.
Any one see what I"m missing?
I also tried to use tempvar!tvUser and it works on the main form but I still can't pass the value to the subform.
Thanks in advance
Lhuffst