Is there a way to reverse a Yes/No field during a select statement in Access? I know how to do so during SQL but that does not fly in Access.
Here is the scenario:
I’m migrating data from an Access DB to an SQL DB. A Yes/No field in said data in Access is obsolete_flag. In SQL correspondingly, I have IsActive. The value needs reversed for SQL since IsActive implies it to be true whereas obsolete_flag would show it is false.
Any suggestions would be appreciated. Thanks.
Kindest Regards,
Chad Johnson
OK, the easiest way would be to just add 1 to the value. This will reverse the yes/no field and make it compatible at the same time.
This will change Access False values (0) to SQLServer True (1), and Access True values (-1) to SQLServer False (0).
You guys were just over thinking it.