Hello ,
I have dependent 4 combo boxes, Eg Category, Name , Price ,Value .
When i select category(vegetables, fruits ,flowers) It is showing Name drop down related to category then I ll select Name (till now its working fine)
after I select Name I want Price and value to be selected automatically from the source table related to Name .
source table(tblAll) contains Category, Name , Price ,Value.
Category Row source: SELECT DISTINCT tblAll.Category FROM tblAll ORDER BY tblAll.Category;
cboCategory_AfterUpdate() : Me.CboName.Value = ""
On Error Resume Next
CboName.RowSource = "Select tblAll.Name " & _
"FROM tblAll " & _
"WHERE tblAll.Category = '" & cboCategory.Value & "' " & _
"ORDER BY tblAll.Name;"
This is my Eg data
I need to generate the value and Price on selecting Name can someone help me !!!!!
I tried to do the same for Price and Value but it didn't
Cheers
Thanks in advance