Unix Technical Forum

Binary or Byte data linked to Checkbox

This is a discussion on Binary or Byte data linked to Checkbox within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Dear Group, I'm using Access 2003 linked to an SQL Server data table via an ODBC connection. On one ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 09:54 PM
Max Yaffe
 
Posts: n/a
Default Binary or Byte data linked to Checkbox

Dear Group,

I'm using Access 2003 linked to an SQL Server data table via an ODBC
connection.

On one form I have several check boxes which want data mapped to a
TRUE/FALSE datatype. Is there a direct way to bind a checkbox to a
bit, a binary, or a tinyint? I've only been able to get it to work
with a smallint which is 2 bytes long.

Thanks,
Max
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 09:54 PM
Matt Neerincx [MSFT]
 
Posts: n/a
Default Re: Binary or Byte data linked to Checkbox

Arg. Access wants to insert -1 for true and 0 for false.
So sorry the type will need to support negative numbers.

--
Matt Neerincx [MSFT]

This posting is provided "AS IS", with no warranties, and confers no rights.

Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"Max Yaffe" <myaffe@not.gamry.com> wrote in message
news:0f1ji1p22uleclnn5t4lka3vnta48bda3k@4ax.com...
> Dear Group,
>
> I'm using Access 2003 linked to an SQL Server data table via an ODBC
> connection.
>
> On one form I have several check boxes which want data mapped to a
> TRUE/FALSE datatype. Is there a direct way to bind a checkbox to a
> bit, a binary, or a tinyint? I've only been able to get it to work
> with a smallint which is 2 bytes long.
>
> Thanks,
> Max



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:10 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com