Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Access front-end & Y/N datatype

Status
Not open for further replies.

ayjaycee

Technical User
Mar 5, 2001
291
GB
In an Access database, you can define a column as Y/N (i.e. binary 0 or 1).

If you are using Access as a front-end to an Oracle database, what datatype would you use to get the same functionality?

Or is this not possible?

Thanks,
TandA

One by one, the penguins steal my sanity.
 
Actually, I believe Access uses -1 for true/yes and 0 for false/no. Either way, I would use a Number and go from there. Terry M. Hoey
 
Update:

Tried NUM(1) - no good.

Tried CHAR(3) - worked!

Looked at the data - the field has a "0" in it, so I'm confused as to why the NUM(1) didn't work.

Oh well, as long as it's working ... TandA

One by one, the penguins steal my sanity.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top