Refresh original form

J

Jim L.

I am working on a form where vehicle information is displayed, along with
several fields relating to an accident scene. A user enters a vehicle number
in the [VehNo] field and hits "Enter", and 4 unbound controls display vehicle
make, model, etc., looking up information from the Vehicles table. If the
user hits "Enter" and nothing is displayed in the unbound boxes, the vehicle
is not in the table, and they will have to enter the info into the table now.
Next to the [VehNo] box is a command button that opens a form to enter new
vehicles into the Vehicles table. When this vehicle entry form is closed
after being filled out, is there a way to refresh the original form to show
the unbound boxes filled in without re-entering the vehicle number in the
[VehNo] box?
 
R

RonaldoOneNil

Put similar code that populates the boxes when you hit enter into the close
event of the new vehicle entry form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top