Question Add data from the drop-down list for a field in another table

shamal

Registered User.
Local time
Today, 15:47
Joined
Sep 28, 2013
Messages
86
HI.

Example contains 4 tables

tables Name_Cus and Sales

and
tables tables and Comp_Mwad

It was the 4 forms design

I needed is How can I add the Comp_Mwad to the sales table

When choosing a name from a drop-down list of material placed in Mada field from the sales table as well as the purchase price of the material is placed in a yellow field.
 

Attachments

the source query of the combo should have fields:
Item#, Price

when user selects the ITEM, fill in price by the afterupate event

Code:
 sub cboLOM_afterupdate()
 txtPrice = cboLOM.column(1)
 end sub
note: the combo has a column count of 2, but in code counting starts at zero,
hence .column(1)
 
the source query of the combo should have fields:
Item#, Price

when user selects the ITEM, fill in price by the afterupate event

Code:
 sub cboLOM_afterupdate()
 txtPrice = cboLOM.column(1)
 end sub
note: the combo has a column count of 2, but in code counting starts at zero,
hence .column(1)

Application on the attached example , please
 
the source query of the combo should have fields:
Item#, Price

when user selects the ITEM, fill in price by the afterupate event

Code:
 sub cboLOM_afterupdate()
 txtPrice = cboLOM.column(1)
 end sub
note: the combo has a column count of 2, but in code counting starts at zero,
hence .column(1)

hi
Please apply the solution example
 

Attachments

Users who are viewing this thread

Back
Top Bottom