Results 1 to 7 of 7
  1. #1
    coronatus is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2012
    Posts
    4

    Question Checkbox output to text in table record?

    Hello,



    I hope someone understand this. For me it's hopeless...

    I have tried much in vb code. I know nearly nothing about it.
    But the only thing what I want is here:

    In the form if the checkbox is checked the record in the table has to change in text. When checkbox is unchecked the the record in the table must be empty too. I have 5 checkboxes for one column.

    The thing what is frustrating me is that when I click on one checkbox the other checkboxes are checked too, but I want only one checkbox checked and the others unchecked. But each checkbox have to put difference text into the table record of one column.

    Thanks

  2. #2
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    Have you considered using a Combo Box instead and simply select what Text you want.

  3. #3
    coronatus is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2012
    Posts
    4
    No, simply because I want to check it, like this :

    chkbox chkbox chkbox chkbox chkbox
    Very low, Low, Medium, High , Very high

    But tnx for advice.

  4. #4
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    The thing what is frustrating me is that when I click on one checkbox the other checkboxes are checked too, but I want only one checkbox checked and the others unchecked. But each checkbox have to put difference text into the table record of one column.
    I can't understand this one. Does your form only show a single record. Are the Checkboxes bound to the table?

  5. #5
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Quote Originally Posted by coronatus View Post
    No, simply because I want to check it...
    Sorry, but that answer makes no sense! You want to bind five Controls, whose Values are either 0/-1 or True/False, to a single Field, and have it store Text?

    Why in the world wouldn't you want to use a Combobox that is Bound to the Field, with a Value List of Very low, Low, Medium, High, Very high?

    It can be done, but it'll require a bunch of needless code!

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  6. #6
    coronatus is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2012
    Posts
    4
    Click image for larger version. 

Name:	registration checkbox.jpg 
Views:	4 
Size:	27.4 KB 
ID:	9744

    explains the form design of the checkboxes
    Attached Thumbnails Attached Thumbnails table.jpg  

  7. #7
    coronatus is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2012
    Posts
    4
    Maybe this images explains it better. The textbox is only for testing under the checkbox, it's gone after this works.

    Rainlover@ I had the all checkbox bounded to the one table control element Urgent

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

Similar Threads

  1. Replies: 12
    Last Post: 10-27-2012, 05:44 AM
  2. Replies: 6
    Last Post: 10-09-2012, 02:29 PM
  3. specific record output to .pdf
    By REBBROWN in forum Reports
    Replies: 1
    Last Post: 09-25-2010, 07:35 AM
  4. Output Query to Text
    By denileigh in forum Queries
    Replies: 1
    Last Post: 05-27-2006, 12:34 PM
  5. How to output only current record in query
    By mslieder in forum Access
    Replies: 0
    Last Post: 01-20-2006, 05:48 PM

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