Quote:
Originally Posted by nico5038
You can use the Combo's AfterUpdate event to move the values selected in the combo into the fields on your form. (I assume the form is based on the Target table!)
The general needed move for the first combofield is:
Me!fieldname = Me!Comboname.Column(0)
for the second combofield use:
Me!fieldname = Me!Comboname.Column(1)
The columns are so-called "zero based".
After the moves issue a:
Me.Refresh
This will force the new data to become visible.
Getting the idea ?
Nic;o)
I receive this error:
Microsoft Access can't find the macro 'Me!OSE_Wt=Me!OSE_Name.'
The macro (or its macro group) doesn't exist, or the macro is new but hasn't been saved.
Note that when you enter the macrogroupname.macroname syntax in an argument, you must specify the name the macro's macro group was last saved under.
I have never used the 'Me' part so I am unsure what the error is telling me.
This is some of the information in my combo box:
Name: OSE_Name
Control Source: OSE Name
Row Source: SELECT [tbl_OSE].[Key], [tbl_OSE].[OSE_Name], [tbl_OSE].[OSE_Wt] FROM tbl_OSE;
After Update: Me!OSE_Wt=Me!OSE_Name.Column(2)
Me!Refresh
Further assistance would be appreciated.