Hey Everyone,
I have a cascading combo box setup that works completely fine. I now want to autofill several text boxes with information related to the second combo box.
For example, in the first combo box the user is asked to select a facility. In the second combo box, it will list all the unit numbers of the inventory at that facility. As I said earlier, I was able to work this out.
Now I am trying use Dlookup in the control source of the text boxes but I am not able to get anything to work.
This is how I have set up my Dlookup:
=DLookUp("[ItemIWantFilled]","TableName","[PrimaryIDinTable]=" & Forms![Formname]![2ndComboboxname.Column(X)]) and I just get an "#Error".
Note I have several columns in the 2nd combo box and have also tried
=comboboxname.Column(X) and nothing shows up.
Please help!
Thanks in advance