I want to display the data to label when I choose 3 combobox
cmbIndi is the field that I want to display the data
cmbPub is the table
cmbTahun is the criteria from field "Tahun"
LblData.Caption = DLookup([cmbIndi.value], [cmbPub.value], "[Tahun]=" & [cmbTahun.value])
There are run time error '2465'
Microsoft Access can't find the field '|1' referred ti in your expression
Can anyone fix this?
cmbIndi is the field that I want to display the data
cmbPub is the table
cmbTahun is the criteria from field "Tahun"
LblData.Caption = DLookup([cmbIndi.value], [cmbPub.value], "[Tahun]=" & [cmbTahun.value])
There are run time error '2465'
Microsoft Access can't find the field '|1' referred ti in your expression
Can anyone fix this?