473,378 Members | 1,500 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,378 software developers and data experts.

list box values disabling

553 512MB
I have options in a List Box

How can i disable/make non-visible one value when a Command button is clicked?


Thanks
Jul 10 '07 #1
3 2016
Rabbit
12,516 Expert Mod 8TB
If it's a value list then you can use Me.ListboxName.RemoveItem()
If it's a Table/Query you'll need to change the Row Source to return only the records you want.
Jul 10 '07 #2
questionit
553 512MB
Ok
one more thing

becasue i am doing it on Ms Access Forms, i would need help on this not specifically on VB

How can i add item into list one by one (normal strings) - not by running rowSource query?

If it's a value list then you can use Me.ListboxName.RemoveItem()
If it's a Table/Query you'll need to change the Row Source to return only the records you want.
Jul 10 '07 #3
Rabbit
12,516 Expert Mod 8TB
Me.ListboxName.AddItem() let's you add values to the listbox.
Jul 10 '07 #4

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

Similar topics

5
by: Jeffrey Silverman | last post by:
Hi, all. I have a linked list. I need an algorithm to create a tree structure from that list. Basically, I want to turn this: $list = array( array( 'id' => 'A', 'parent_id' => null, 'value'...
2
by: Stub | last post by:
If building a list of elements of void * type, this way different pointer types of objects can be put in the list. When you pop data from the list, can RTTI or any other method be used to...
3
by: PB | last post by:
What is the rationalle for disabling JavaScript. AFAIK, the primary reason is for "security purposes" - but what specific kind of threats does the protect against? AND - is the disabling of...
2
by: adeelanjum2001 | last post by:
i am using radiolist box control in my page. when i disable radiolist box when page is displayed first time, that is not ispostback, and when i try to enable it with my javascript code afterwards,...
2
by: Ryan Ternier | last post by:
I'm looking for a solution to a problem. We have a list of 10-100items that will be in a dropdown list. Users need to select an Item to perform a function. Each Item has a Heading that it's...
7
by: John Meyer | last post by:
I have a program where I have to enable or disable a list box based upon a radio button. Is there an "enabled" property on select boxes?
5
by: sklett | last post by:
I'm not real experienced with asp.net so this may be obvious. I've got a situation where some of my client side javascript is causing my posted form's controls to lose their values. In other...
4
by: questionit | last post by:
Hi I have 2 tick boxes (say A and B) and a list box. I want following, can anyone help If tick-box A is checked: the list box will show all of its values If tick-box B is checked: the list...
1
by: Constantine AI | last post by:
Hi i am trying to get User input if data does not exist within a DLOOKUP table. I have gotten it to work for one record but not multiple, i have tried to incorporate my code into a loop procedure but...
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: 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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.