Hello, all.
I am running a MOD to update the fields in two tables. It calls two queries that update based on the Yes/No field data type for either primary, or secondary.
The table has three primary keys (ElectionID, PlanID, and PrimaryElection ). The situation I am running into happens to only recognize the "No" data type when running the query, thus it returns the wrong data. It also is failing to recognize the other value of ElectionID (there are 2 records, 1 and 2)
I'm going to attach images of the query in design view and query results.
Does anyone know what I could do to fix this issue? The solution I thought of was using all three of those fields as keys, which has not done the trick. I have also tried entering in the criteria field "Yes" or "No" to no avail.
Note: I also tried "-1 And <> 0" and "-1" and "Yes" all which did not work.
Thanks.
[imgnothumb]http://bytes.com/attachment.php? attachmentid=73 30[/imgnothumb]
[imgnothumb]http://bytes.com/attachment.php? attachmentid=73 31[/imgnothumb]
[imgnothumb]http://bytes.com/attachment.php? attachmentid=73 32[/imgnothumb]
I am running a MOD to update the fields in two tables. It calls two queries that update based on the Yes/No field data type for either primary, or secondary.
The table has three primary keys (ElectionID, PlanID, and PrimaryElection ). The situation I am running into happens to only recognize the "No" data type when running the query, thus it returns the wrong data. It also is failing to recognize the other value of ElectionID (there are 2 records, 1 and 2)
I'm going to attach images of the query in design view and query results.
Does anyone know what I could do to fix this issue? The solution I thought of was using all three of those fields as keys, which has not done the trick. I have also tried entering in the criteria field "Yes" or "No" to no avail.
Note: I also tried "-1 And <> 0" and "-1" and "Yes" all which did not work.
Thanks.
[imgnothumb]http://bytes.com/attachment.php? attachmentid=73 30[/imgnothumb]
[imgnothumb]http://bytes.com/attachment.php? attachmentid=73 31[/imgnothumb]
[imgnothumb]http://bytes.com/attachment.php? attachmentid=73 32[/imgnothumb]
Comment