JoshuaNurrenber
8 years agoQrew Trainee
Auto fill a field based on 2 other fields
I have 4 tables: "Loads Hauled", "Commercial Facilities", "On Farm Bins", and "Distance". The "Commercial Facilities" table is a list of facilities where loads can be hauled to. The "On Farm Bins" table is a list of where loads can come from. The "Distance" table is a child table of both the "On Farm Bins" table and the "Commercial Facilities" table. Each record on the "Distance" table is a distance from the on farm bin to the commercial facility to which the load is being hauled.
The loads hauled table is a child table of the "Commercial Facilities", "On Farm Bins", and "Distance" tables. Whenever the form on the "Loads Hauled" table is filled out, a "Commercial Facility" and an "On Farm Bin" is chosen separately. I would like the form to automatically choose the correct "Distance" record that goes with the "On Farm Bin" and "Commercial Facility" that were chosen.
Does anybody have any suggestions as to how I could achieve this?
Thank you for your help.
The loads hauled table is a child table of the "Commercial Facilities", "On Farm Bins", and "Distance" tables. Whenever the form on the "Loads Hauled" table is filled out, a "Commercial Facility" and an "On Farm Bin" is chosen separately. I would like the form to automatically choose the correct "Distance" record that goes with the "On Farm Bin" and "Commercial Facility" that were chosen.
Does anybody have any suggestions as to how I could achieve this?
Thank you for your help.