Hello everybody!
I've got the following problem:
In my database, i use three fields:
1. Product code (conbo box-text)
2. ClientName (text)
3. OurName (text)
The same fields are also in a table (ClientOur), so i can pull out the dlookup.
My syntax in product code after update event is the following:
Me.ClientName = (DLookup("ClientName", "ClientOur", "productcode='" & Me.ProductCode & "'"))
Me.OurName = (DLookup("OurName", "ClientOur", "productcode='" & Me.ProductCode & "'"))
I don't get any erros, only the fields in the form remain blank after update. :banghead:
Furthermore, i would like to have the same stuff in the report generated from the form.
Any ideas what's wrong?
Thank you in advance!
Best regards,
Costas
I've got the following problem:
In my database, i use three fields:
1. Product code (conbo box-text)
2. ClientName (text)
3. OurName (text)
The same fields are also in a table (ClientOur), so i can pull out the dlookup.
My syntax in product code after update event is the following:
Me.ClientName = (DLookup("ClientName", "ClientOur", "productcode='" & Me.ProductCode & "'"))
Me.OurName = (DLookup("OurName", "ClientOur", "productcode='" & Me.ProductCode & "'"))
I don't get any erros, only the fields in the form remain blank after update. :banghead:
Furthermore, i would like to have the same stuff in the report generated from the form.
Any ideas what's wrong?
Thank you in advance!
Best regards,
Costas