473,385 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

change values in combo box depending on usage.

118 100+
Hi folks,

In my database I have a form, one of the fields is a drop down list, which in the table it relates to is unique. How can I make it so that when a user selects that one and saves their record, next time it won't be in the list?

Hope that makes sense,
Sam
Jan 11 '08 #1
3 1261
zaidlig
45
Hi folks,

In my database I have a form, one of the fields is a drop down list, which in the table it relates to is unique. How can I make it so that when a user selects that one and saves their record, next time it won't be in the list?

Hope that makes sense,
Sam
If understand you you want the drop down list to be reduced every time someone selects an item?

Set the drop down list rowsource to a query that compares what has be used against what is available - only showing what has not been used.
Jan 11 '08 #2
FishVal
2,653 Expert 2GB
Hello, Sam.

Take a look at this thread

Regards,
Fish
Jan 11 '08 #3
helraizer1
118 100+
If understand you you want the drop down list to be reduced every time someone selects an item?

Set the drop down list rowsource to a query that compares what has be used against what is available - only showing what has not been used.
Yeah, there is a time slot for each ride in the database. 15 slots per ride, so say someone books one of those, next time they or someone else tries to book one there'd then be 14 slots available.
Jan 11 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Rey | last post by:
Howdy, all. Appreciate your help. Have a one to many relation between a client and visit table. In the visit subform, I have a visittype and counselor field which are comboboxes. If I set...
2
by: Arnie | last post by:
I have searched this NG for datasheet column width posts and have read many of them. None of them seem to address what I would like to do. I'm beginning to think what I want can't be done. Here...
6
by: Sebi | last post by:
Hello all, I'm thinking about overwriting the ListItem, so it can contain x additional values (not only one). Has anybody ever tried this? Has someone got an example (C#)? Can DropDownList...
13
by: nyt | last post by:
I have a problem of number and text field. I got the database file(mdb) that contains many combo boxes used and its list values are created by "value list" For eg field Field name= 'furniture'...
2
by: pervaiz.ahmad | last post by:
Hi, I have created a combo box with "", Yes,No so that if user select any other option except Yes the text box should become disabled. For this I have written code in the exit event of the combo...
2
by: Eric Layman | last post by:
Hi, I have a radio button and a combo box. Upon changing a value for radio button, the combo box values will be dynamically updated. I have an idea on how to go abt doing it but Im stuck...
2
by: karrans | last post by:
Hi, I'm trying to debug some code where I'm trying to retrieve particular ranges in an excel sheet into an Access table, depending on the user selection of the range name in a combo box with a...
5
by: gokula309 | last post by:
Hi , I've a doubt using 2 frames in same page . PAGE 1 has 2 frames called F1 and F2. F1 refers page P2 F2 refers page P3 In this P2 has a drop down list (bank ), when it's changed...
2
by: hsangi | last post by:
I have a main form with a simple combo box at the top that reads a table of values. Depending on which of 6 values is selected I want to display immediately below one of six corresponding sub forms...
2
by: maralfarshadi | last post by:
Hello In my JSP, I have several comboboxes (located in several forms in one JSP). In the onChange event , I have : onchange="submit()" My combobox have the values : Select Item Action 1...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.