Refresh original form

  • Thread starter Thread starter Jim L.
  • Start date Start date
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?
 
Put similar code that populates the boxes when you hit enter into the close
event of the new vehicle entry form.
 
Back
Top