Results 1 to 8 of 8
  1. #1
    andrebmsilva is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    19

    Combo-box: One & One only Selection

    Hello,



    I have this doubt about Comboboxes:

    How can I have data sheet subform where there is a combobox with a list of options that each time i select one option it wont appear in the combobox of the next row and the next subforms? What i really want is to be able to combine several Unique items in a basket.

    I have tried Querys and Update Querys, but as I'm new to MS Access, I wasn't able to figure it out.

    Thanks in advance
    André

  2. #2
    msoffice.vidyarthi is offline Novice
    Windows 7 64bit Access 2000
    Join Date
    Nov 2012
    Posts
    24
    Let me get this straight.

    Suppose a,b,c,d,e,f,g,h,i is the list that has to go into comboboxs

    if u select 'a' in first combo, then other combos should not have 'a' showing in them.
    like wise if u select b in 2nd combo, then other combos should not show 'a' and 'b' and so on

    is that what you want

  3. #3
    andrebmsilva is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    19
    Yes, that's exactly what i need.

    My teacher suggested using 2 tables. One table for the basket and other table for the items and link them as "One to many". Then he said that using a query that searches for "Null" in the foreign key should make a solution.

    Do you think that's possible?
    Thanks

  4. #4
    msoffice.vidyarthi is offline Novice
    Windows 7 64bit Access 2000
    Join Date
    Nov 2012
    Posts
    24
    It will be easy for me to try to resolve if you provide me with sample db, as it would be very tedious for me to recreate all the things that you are doing at your end. try to zip it and send the db

  5. #5
    andrebmsilva is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    19

    Example DB

    Here it is... Thanks
    Attached Files Attached Files

  6. #6
    msoffice.vidyarthi is offline Novice
    Windows 7 64bit Access 2000
    Join Date
    Nov 2012
    Posts
    24
    Here,s the picture.

    You are trying to select data from the same table yet filtering the same. Same where I guess you need to rethink about you linking of the table.

    Or else the data source of the combobox is not set correct

    Question: is the data source of combobox set right to "SELECT Carpet.IDCarpet FROM Carpet; "

    Try inserting data into subform in FormView and c the error msg

  7. #7
    qa12dx is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Nov 2012
    Location
    india
    Posts
    112
    Attachment 10089

    here u go. hope it helps

  8. #8
    andrebmsilva is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    19

    Thanks !

    thank you so much. this is really what i need!


    Quote Originally Posted by qa12dx View Post
    Attachment 10089

    here u go. hope it helps

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

Similar Threads

  1. Replies: 8
    Last Post: 06-23-2014, 12:19 PM
  2. Replies: 1
    Last Post: 10-30-2012, 10:29 AM
  3. Replies: 1
    Last Post: 07-11-2012, 08:36 AM
  4. Replies: 33
    Last Post: 01-13-2012, 07:44 AM
  5. Replies: 1
    Last Post: 08-26-2009, 10:45 AM

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