I have many fields in my table main and it’s:
AWB number
Cust_name text
Mobile text
Cite text
------------------------------------------
Cust_address text
Status text
So what I want is when I enter an AWB number and press enter all the matching data in the field must appear. And for the first three fields users can see the data and can’t change it (read only). And for the cust_address, Status they can change it.
I used for that Dlookup function but what happens is when I enter the AWB number for the second time all the data in the table will be deleted for cust_address and status fields.
My code is in the attachment file.
Thank you very much.
AWB number
Cust_name text
Mobile text
Cite text
------------------------------------------
Cust_address text
Status text
So what I want is when I enter an AWB number and press enter all the matching data in the field must appear. And for the first three fields users can see the data and can’t change it (read only). And for the cust_address, Status they can change it.
I used for that Dlookup function but what happens is when I enter the AWB number for the second time all the data in the table will be deleted for cust_address and status fields.
My code is in the attachment file.
Thank you very much.