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

Hiding Combo Box

I have created a few forms in Access 2000. Each form has a combo box with
refNo, forenames and surnames that select a record in that form. I have put
two buttons that go to another form (from the main form). The first goes to
all records, the second goes to a specific record. Is there way to disable
the combo box (on the 2nd form) when I select a specific record from the
main form. As it has no use when going to a specific record. I have limited
knowledge of coding I would guess that coding is needed for this problem.
Nov 13 '05 #1
1 1206
Dave wrote:
I have created a few forms in Access 2000. Each form has a combo box with
refNo, forenames and surnames that select a record in that form. I have put
two buttons that go to another form (from the main form). The first goes to
all records, the second goes to a specific record. Is there way to disable
the combo box (on the 2nd form) when I select a specific record from the
main form. As it has no use when going to a specific record. I have limited
knowledge of coding I would guess that coding is needed for this problem.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Use the Enabled property of the ComboBox.

When you want to let the user use the ComboBox:

On the current form:
Me!ComboBoxName.Enabled = True

On another form:
Form!FormName!ComboBoxName.Enabled = True

Change "True" to "False" when you DON'T want the user to use the
ComboBox.

--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQh993YechKqOuFEgEQJsFgCg+SHom+YR0O27Calz4najwD guDvMAoIAT
JsM6pnA9q34WJrUIFyB4+5iL
=VIBJ
-----END PGP SIGNATURE-----
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tim Graichen | last post by:
I currently have a form with several combo boxes. I have the background properties and boarder properties of all form fields set as transparent. Therefore, the only part of the controls that are...
2
by: Tim Graichen | last post by:
I may have already asked this one, but, Is there anyway of hiding the dropdown control button on a combobox until the field has focus? Because the values in the combobox can be between 5...
1
by: scott_baird | last post by:
I'm sure there are easier ways, but... I have a combo box that has 5 possibilities (one of which is "sold"). When the combobox.value=Sold, I want an image to appear, otherwise to not be visible....
3
by: troy_lee | last post by:
How do I suppress the properties box on database startup? Thanks.
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: 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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.