Using Access 2013. I have two fields KPI_ID and KPI_Name in a table KPI.
I have a form where I've got the KPI_Name in a combo box. A text box is meant to display the KPI_ID of that KPI_Name.
I'm using DLookup on the text box which is:
=DLookUp("[KPI.KPI_ID]","[KPI]","[KPI.KPI_Name] = " & "[Combo18]")
The problem I am facing is that in Layout view, when I click on Control Source in the Property Sheet and accept the above expression, it shows the corresponding KPI_ID correctly. However, in the Form View when I select a KPI_Name in the combo box, the text box does not update.
Please help.
I have a form where I've got the KPI_Name in a combo box. A text box is meant to display the KPI_ID of that KPI_Name.
I'm using DLookup on the text box which is:
=DLookUp("[KPI.KPI_ID]","[KPI]","[KPI.KPI_Name] = " & "[Combo18]")
The problem I am facing is that in Layout view, when I click on Control Source in the Property Sheet and accept the above expression, it shows the corresponding KPI_ID correctly. However, in the Form View when I select a KPI_Name in the combo box, the text box does not update.
Please help.