I have a form for entering data on voltage measurements for a circuit card. For each field of entered data I have a Pass/Fail field that I currently enter manually. What I want to do is automate this so that if I enter a voltage value that is inside a certain range then the form checks it and returns a Pass or Fail in the next field. This will also have to be saved into the table that the data is going into.
Here is an example of the range I would need to check against: +4.900Vdc to +5.100Vdc, anything within is pass anything above or below is a fail. The same would have to work for a negative value such as -15.75 to -14.75. For positive numbers the sign is not needed, but I would like to be able to include the negative sign if possible. The sign is not that big a deal to keep if it really complicates things.
Does the field in the table this would be stored in need to be a specific type like "Yes/No"? Or can it be a text field?
The Table name is TBL_IO, the first of the field names for this are "P5Vdc_IO_PWA" (number field, this is where the value will be stored), "P5Vdc_IO_PWA_PF" (text field, this is where I would store the Pass/Fail). The field names are similar for another 15 fields and so I would have to repeat this for all.
For any who try to help Thanks in advance!