+ Reply to Thread
Results 1 to 7 of 7

How to Restrict User To Select One Field in a continuous form

  1. #1
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    How to Restrict User To Select One Field in a continuous form

    The below screenshot will tell what I want to do and attaching a sample db for testing.

    Any suggestion will be helpful to me
    Attached Images Attached Images
    Attached Files Attached Files


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: How to Restrict User To Select One Field in a continuous form

    Hi Sixth,

    Try using OptionButtons instead of CheckBoxes. Please note that each set of OptionButtons must be in a Group.

    You may either want to add a 3rd OptionButton on each line for 'Not Accepted or Rejected Yet', or if Access allows it, double click somewhere to clear both OptionButtons on the line if neither Accepted nor Rejected is ready to be selected.

    Lewis
    Last edited by LJMetzger; 02-22-2015 at 08:47 AM.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: How to Restrict User To Select One Field in a continuous form

    Untested possible solution:
    How about some VBA that states if
    Please Login or Register  to view this content.
    and then conversely for the other alternative.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to Restrict User To Select One Field in a continuous form

    Quote Originally Posted by LJMetzger View Post
    Try using OptionButtons instead of CheckBoxes. Please note that each set of OptionButtons must be in a Group.
    Thanks for the suggestions

    I changed the checkboxes to option button and made a Option Group for that but it is not working as intended and allowing to select both

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to Restrict User To Select One Field in a continuous form

    Quote Originally Posted by alansidman View Post
    How about some VBA that states if
    Please Login or Register  to view this content.
    In fact VBA will be more handy for this simple task and in the same way I tried the above code before posting this question. But unfortunately it is not working with continuous form and simply locking all the records instead of locking the actual record

  6. #6
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: How to Restrict User To Select One Field in a continuous form

    I changed the checkboxes to option button and made a Option Group for that but it is not working as intended and allowing to select both
    See the following Access OptionButton Tutorial
    See http://www.fontstuff.com/casebook/casebook05.htm

    You may have created a 'Standard Frame' instead of an 'Options Group Frame'. See post #7 (Nov 22, '07) in the following thread: http://bytes.com/topic/access/answer...-radio-buttons

    Unfortunately, I do not have access to Access, so I can't help you with a working file example.

    Lewis

  7. #7
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to Restrict User To Select One Field in a continuous form

    Hi Lewis,

    Thanks for the links, as per your advice I am using the Option Group in my continuous form and assigned the result to my table field

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] User-Form Problem: User can select headers in User Form (I want Header/no way to select)
    By navialivad in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-18-2014, 10:24 AM
  2. Replies: 1
    Last Post: 08-12-2014, 03:05 AM
  3. vba excel user form restrict input on user textbox
    By samz93 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-04-2013, 04:38 PM
  4. User Form to select other User Forms
    By nms2130 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-01-2011, 12:57 PM
  5. restrict user to select only from drop-down box
    By froggy19 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-03-2007, 01:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1