i have created 2 combo boxes based on the following videos
http://www.datapigtechnologies.com/f...combobox1.html
http://www.datapigtechnologies.com/f...combobox2.html
but they are not solving the problem
i have a main form and a sub form (Admin Purchase) and a subform (Admin Purchase subform)
these combo boxes are placed on Admin Purchase subform
code as follows:
SELECT Items.[Item Description]
FROM Items
WHERE (((Items.[Purchased From Company])=[forms]![Admin Purchase Subform].[cbocomp]))
GROUP BY Items.[Item Description]
In after update code:
Private Sub Description_AfterUpdate()
Me.Requery
End Sub
I am having following problems:
1. when i try to run it from (Admin Purchase) which is the Main form, it gives error.
2. If I run it from (Admin Purchase subform) it works only one time If i change the value in cbocomp nothing changes.
pls help me fix this problem.