Results 1 to 4 of 4
  1. #1
    yotamoo is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2013
    Posts
    7

    Question Checkbox appears as integer on screen

    Hello there,

    In every form I have that can edit a database, I put a check-box titled 'Lock', which simply disable editing a certain record when checked. If I want to unlock a record I have a query that looks for all locked record and presents them. This is the code:

    Code:
    SELECT name, lastName, lock
    FROM table
    WHERE lock=yes
    Problem is, the lock field shows the integer value (0/-1) and not a check-box that can be unchecked.

    Any ideas why?



    Thanks!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,965
    You used a checkbox control on the form?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    yotamoo is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2013
    Posts
    7
    Quote Originally Posted by June7 View Post
    You used a checkbox control on the form?
    Yes of course

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,965
    Well that is confusing because a checkbox control cannot show characters of any kind. If you want to provide the db for analysis, follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. report the # of times a name appears in a field
    By rankhornjp in forum Reports
    Replies: 25
    Last Post: 08-04-2011, 01:45 PM
  2. Chart legend appears as date
    By Vronsky in forum Programming
    Replies: 0
    Last Post: 06-09-2011, 05:20 AM
  3. Replies: 11
    Last Post: 06-05-2011, 09:51 PM
  4. Adding column as INTEGER makes it a long integer?
    By luckycharms in forum Programming
    Replies: 2
    Last Post: 10-20-2010, 02:47 PM
  5. Replies: 1
    Last Post: 08-27-2008, 12:39 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums