J
Jim L.
I am working on an accident report DB. I have a Vehicles table with fields
like VehNo (vehicle number), Mk, Mdl, VIN, etc. I also have VehicleA & a
VehicleB tables with fields particular to each accident, such as AVeh
(vehicle number), DamageScale, DamageArea, etc. The VehNo and AVeh fields
are joined, and are both primary keys.
On the form I have DLookup codes in the AfterUpdate property of the AVeh
control, so a user can enter the vehicle number, and the vehicle information
controls (make, model, color, VIN) pop up in their respective unbound
controls, allowing the user a way to insure they entered the vehicle number
correctly. This works great, as long as the vehicle has been previously
entered into the Vehicles table. If it has not been entered, the other
controls remain blank.
Is there a way for a user to enter the vehicle information into these same
unbound visible controls (maybe using IIF statements, hidden bound controls
that would equal the value of the unbound control) so they are entered into
the Vehicles table?
like VehNo (vehicle number), Mk, Mdl, VIN, etc. I also have VehicleA & a
VehicleB tables with fields particular to each accident, such as AVeh
(vehicle number), DamageScale, DamageArea, etc. The VehNo and AVeh fields
are joined, and are both primary keys.
On the form I have DLookup codes in the AfterUpdate property of the AVeh
control, so a user can enter the vehicle number, and the vehicle information
controls (make, model, color, VIN) pop up in their respective unbound
controls, allowing the user a way to insure they entered the vehicle number
correctly. This works great, as long as the vehicle has been previously
entered into the Vehicles table. If it has not been entered, the other
controls remain blank.
Is there a way for a user to enter the vehicle information into these same
unbound visible controls (maybe using IIF statements, hidden bound controls
that would equal the value of the unbound control) so they are entered into
the Vehicles table?