M
Morris.C
How does one go about automatically selecting a value in a combo-box from
another form.
eg. Form1 opens Form2.
Form2 has a combo-box.
I want that combo-box to automatically select a value from Form1.
When I tried this in the OnLoad and GetFocus events:
Me!ComboBox101.Column(0) = Forms!Form1!Text1
I get this:
Run-time error 451
Property let procedure not defined and property get procedure did not
return an object.
I know Forms!Form1!Text1 is valid, I display it via "MsgBox Forms!Form1!
Text1". (I included this just for debugging purposes.)
What am I missing?!
another form.
eg. Form1 opens Form2.
Form2 has a combo-box.
I want that combo-box to automatically select a value from Form1.
When I tried this in the OnLoad and GetFocus events:
Me!ComboBox101.Column(0) = Forms!Form1!Text1
I get this:
Run-time error 451
Property let procedure not defined and property get procedure did not
return an object.
I know Forms!Form1!Text1 is valid, I display it via "MsgBox Forms!Form1!
Text1". (I included this just for debugging purposes.)
What am I missing?!