I have an auto fill for a form to update other form fields after the selection. Once this selection is made for a certain box, that box field then auto fills its box lot code field on the form. For a certain box, there are multiple lot codes in the table. Is there a way to tell the SQL query to update the lot code based on the selection of the Current Lot Code Used (Yes/No) field?
Here is what the table looks like (abridged) that has the multiple entries of lot codes for one material (A Box). I want to make sure the one selected as YES is the one that will autoupdate when A Box is selected.
Product DescriptionBox Lot CodeCurrent Lot CodeA Box061482NoA Box061549NoA Box071055YesA Box071109ANoA Box071281NoA Box071285NoA Box071285NoA Box071395NoA Box071407No
Thanks for the help
Here is what the table looks like (abridged) that has the multiple entries of lot codes for one material (A Box). I want to make sure the one selected as YES is the one that will autoupdate when A Box is selected.
Product DescriptionBox Lot CodeCurrent Lot CodeA Box061482NoA Box061549NoA Box071055YesA Box071109ANoA Box071281NoA Box071285NoA Box071285NoA Box071395NoA Box071407No
Thanks for the help