L
Lost In Programming
I am needing some code help to refresh a table before executing a Dlookup
command. I have data entry form where there is a field that verifies a “Mail
Code†is valid by comparing it to a table of values. If the value is not in
the table, the operator has the option of entering the value into the table
via command button on the form. The command button opens a second form
linked to the “Mail Code†table. After the operator enters the new mail code
into the table, the dlookup still does not see the new value unless you close
out of the main form and open it again. What code can I run before the
DLookup so I do not have to exit out of the main form each time?
command. I have data entry form where there is a field that verifies a “Mail
Code†is valid by comparing it to a table of values. If the value is not in
the table, the operator has the option of entering the value into the table
via command button on the form. The command button opens a second form
linked to the “Mail Code†table. After the operator enters the new mail code
into the table, the dlookup still does not see the new value unless you close
out of the main form and open it again. What code can I run before the
DLookup so I do not have to exit out of the main form each time?