Skip to main content
Solved

Autofill user field when a checkbox is checked

  • Oct 31, 2023 2:08 PM UTC
  • 0 replies
  • 117 views

Forum|alt.badge.img+12

I have a table based on 3 digit zip that has the user listed for each 3 digit zip.  On the main table/form, when a user clicks a checkbox, I would like the user field to update to the correct user based on the 3 digit zip code that is on the record. Can you advise how I would do that?



------------------------------
Carol Mcconnell
------------------------------

Best answer by ChayceDuncan

Do you have a relationship between the Zip Table and your main table? If not, you will want to establish a relationship between those two, with Zips being the parent table having many records in your main table. 

In that relationship - you would add a lookup of the user assigned to that Zip. In your main table form - you would then have a form rule that copies that value of that lookup field into the user field on your main table when the box is checked. 



------------------------------
Chayce Duncan
------------------------------
View original
This topic has been closed for replies.

Forum|alt.badge.img+9
  • Qrew Colonel
  • Answer
  • Oct 31, 2023 2:14 PM UTC

Do you have a relationship between the Zip Table and your main table? If not, you will want to establish a relationship between those two, with Zips being the parent table having many records in your main table. 

In that relationship - you would add a lookup of the user assigned to that Zip. In your main table form - you would then have a form rule that copies that value of that lookup field into the user field on your main table when the box is checked. 



------------------------------
Chayce Duncan
------------------------------