Hi there
I have a form in a application with Access as FE and SQl as BE.
The following line of codes (Different version of the same Line) Does not work any suggestion of what is wrong with it?
I had these line in a Data Source of a TxtBox control,
The Field Data Type of the comboBox Contol is called CustomerId and is nchar.
Table name to look into is called Customers.
ComboCustomer is the name of the comboBox.
=DLookUp("[address]","[customers]","[customerID]=form![comboCustomer].value")
=DLookUp("[address]","[customers]","[customerID]=form![Sales]![comboCustomer].column(0)")
=DLookUp("address","TableSales","CustomerID=" & Val([Me]![comboCustomer]))
=DLookUp("[address]","[TableSales]","[CustomerID]=" & Val([Me]![comboCustomer]))
=DLookUp("[address]","[TableSales]","[CustomerID]='" & Val([Me]![comboCustomer]) & "'")
Best regards
Sanan
I have a form in a application with Access as FE and SQl as BE.
The following line of codes (Different version of the same Line) Does not work any suggestion of what is wrong with it?
I had these line in a Data Source of a TxtBox control,
The Field Data Type of the comboBox Contol is called CustomerId and is nchar.
Table name to look into is called Customers.
ComboCustomer is the name of the comboBox.
=DLookUp("[address]","[customers]","[customerID]=form![comboCustomer].value")
=DLookUp("[address]","[customers]","[customerID]=form![Sales]![comboCustomer].column(0)")
=DLookUp("address","TableSales","CustomerID=" & Val([Me]![comboCustomer]))
=DLookUp("[address]","[TableSales]","[CustomerID]=" & Val([Me]![comboCustomer]))
=DLookUp("[address]","[TableSales]","[CustomerID]='" & Val([Me]![comboCustomer]) & "'")
Best regards
Sanan