Hello,
I am new to Access and am having difficulty with a Dlookup function. I have a form that I wish to autopopulate 10 fields with data based on two criteria which are also fields on the form. The user would enter the two criteria in the form and the ten fields autopopulate. To achieve this, I used a Dlookup function in the Control Source of the fields I wished to autopopulate.
This works perfectly except that it does not populate my table with the information retrieved in the Dlookups. The information that I am retrieving thorugh the dlookups is unique data that I need to add into my existing table, not duplicative in nature.
Is there another way to execute the Dlookup so that the table will be updated, or is there a different method that should be used to achieve this?
Any direction on this would be greatly appreciated!! - Thanks!
I am new to Access and am having difficulty with a Dlookup function. I have a form that I wish to autopopulate 10 fields with data based on two criteria which are also fields on the form. The user would enter the two criteria in the form and the ten fields autopopulate. To achieve this, I used a Dlookup function in the Control Source of the fields I wished to autopopulate.
This works perfectly except that it does not populate my table with the information retrieved in the Dlookups. The information that I am retrieving thorugh the dlookups is unique data that I need to add into my existing table, not duplicative in nature.
Is there another way to execute the Dlookup so that the table will be updated, or is there a different method that should be used to achieve this?
Any direction on this would be greatly appreciated!! - Thanks!