Results 1 to 3 of 3
  1. #1
    viper is offline Novice
    Windows XP Access 2003
    Join Date
    Oct 2010
    Posts
    26

    Lightbulb Items being removed from a Combo Box

    Greetings I'm new to this forum and I've been designing Database for 5 years now and I'm still learning new techniques. My apologies if this problem has been asked before but I was having trouble finding it in the forums.

    Question:
    I am creating a DB where we can issue and log ID badges to visitors coming into our facility. What I would like to do is when you’re checking out a badge for some, one you have a drop down box with the available badges, once one is assigned it is taken off the drop box to prevent some one inadvertently issuing a badge that has already been issued.

    Right now I have created 3 tables that contain the numbered badges of the 3 types of ID badges we have. I then have a table to enter the info on who checked out the badge and at what time. What I would like it’s to have the issued badge removed from the drop down when selected then repopulated when the badge is returned once the person has left.



    If this is possible I would be grateful of any help or ideas on alternative work around, thank you in advance

    Regards, viper

  2. #2
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    I assume your drop down box data is from a table with badges and status, only those with status "not issued" are listed in the box. when badge is issued or return, you change the status.

    All right, you've done all of above, then what you need to refresh the list is issue a requery command after you change the status:

    combo1.requery

  3. #3
    viper is offline Novice
    Windows XP Access 2003
    Join Date
    Oct 2010
    Posts
    26
    Ok so I have a table for the badges with the status for each badge. I then created a query and set the criteria for "Not Issued" so that once a badge's status is changed its taken off the list. I then created a dropdown box using the new Query on my Event table. But once I creat another query to tie in all the tabels it locks it up so that i can't add new records or change existing records. I have played around with the relationships to see if that was my issue but so far its not working any ideas?

    Thanks

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

Similar Threads

  1. Selected items in listbox
    By tomodachi in forum Access
    Replies: 1
    Last Post: 09-09-2010, 01:14 PM
  2. Add Items from Form to table
    By swalsh84 in forum Forms
    Replies: 6
    Last Post: 06-14-2010, 06:53 AM
  3. Items at reorder point
    By MFS in forum Queries
    Replies: 2
    Last Post: 04-01-2010, 11:43 AM
  4. list box items
    By thewabit in forum Forms
    Replies: 12
    Last Post: 01-01-2010, 08:59 PM
  5. Program breaks after break was removed
    By Gene in forum Programming
    Replies: 3
    Last Post: 06-02-2009, 07:19 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