I have a form with an unbound combobox at the top and seventeen controls
below it. Is there a simple way to prevent data entry in any of the controls
until a selection is made in the combobox?
Thanks!
Steve 15 2469
Assuming that the other controls are in the Detail section, just make that
section invisible and set its visibility in the AfterUpdate event of the
combo box (test for a value in the combobox).
--
Ken Snell
<MS ACCESS MVP>
"PC Datasheet" <no****@nospam.spam> wrote in message
news:W_*****************@newsread3.news.atl.earthl ink.net... I have a form with an unbound combobox at the top and seventeen controls below it. Is there a simple way to prevent data entry in any of the controls until a selection is made in the combobox?
Thanks!
Steve
Contact me at my email address below if you would like outside help with
this. My fees are very reasonable.
-- PC Datasheet Your Resource For Help With Access, Excel And Word
Applications re******@pcdatasheet.com www.pcdatasheet.com
PC Datasheet wrote: I have a form with an unbound combobox at the top and seventeen controls below it. Is there a simple way to prevent data entry in any of the controls until a selection is made in the combobox?
Thanks!
Steve
"PC Datasheet" <no****@nospam.spam> wrote in
news:W_*****************@newsread3.news.atl.earthl ink.net: I have a form with an unbound combobox at the top and seventeen controls below it. Is there a simple way to prevent data entry in any of the controls until a selection is made in the combobox?
Thanks!
Steve
in the form's current event, set the .enabled property false for
each control. The in the combo box's .afterupdate, set them true.
--
Bob Quintal
PA is y I've altered my email address.
Bob Quintal wrote: "PC Datasheet" <no****@nospam.spam> wrote in news:W_*****************@newsread3.news.atl.earthl ink.net:
I have a form with an unbound combobox at the top and seventeen controls below it. Is there a simple way to prevent data entry in any of the controls until a selection is made in the combobox?
Thanks!
Steve
in the form's current event, set the .enabled property false for each control. The in the combo box's .afterupdate, set them true.
Another way is to use the form's BeforeInsert event and set Cancel=True
if the combo box is null, that's the quicker way to code it but not as
user freindly as Bob's. Depends if you like your users much :-)
Answering your own questions?
John... Visio MVP
"WSF" <so*****@microsoft.com> wrote in message
news:nN*********************@news.xtra.co.nz... Contact me at my email address below if you would like outside help with this. My fees are very reasonable.
-- PC Datasheet Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com www.pcdatasheet.com
PC Datasheet wrote: I have a form with an unbound combobox at the top and seventeen controls below it. Is there a simple way to prevent data entry in any of the controls until a selection is made in the combobox?
Thanks! Steve
trying to plant questions so you can "self advertise" here? and why should
folks posting legitimate questions pay you to solve such simple problems -
when the rest of us will provide help for free?
"WSF" <so*****@microsoft.com> wrote in message
news:nN*********************@news.xtra.co.nz... Contact me at my email address below if you would like outside help with this. My fees are very reasonable.
-- PC Datasheet Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com www.pcdatasheet.com
PC Datasheet wrote: I have a form with an unbound combobox at the top and seventeen controls below it. Is there a simple way to prevent data entry in any of the
controls until a selection is made in the combobox?
Thanks!
Steve
LOL
Another example of what goes around, comes around.
Or rather more like reaping what you sow.
--
WSF wrote: Contact me at my email address below if you would like outside help with this. My fees are very reasonable.
-- PC Datasheet Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com www.pcdatasheet.com
PC Datasheet wrote: I have a form with an unbound combobox at the top and seventeen controls below it. Is there a simple way to prevent data entry in any of the controls until a selection is made in the combobox?
Thanks!
Steve
John, tina
If you're correct, the poster got it backwards.
OTOH, it looks more like someone sticking it back where it
came from.
Either way, it's good for a laugh.
--
tina wrote: trying to plant questions so you can "self advertise" here? and why should folks posting legitimate questions pay you to solve such simple problems - when the rest of us will provide help for free?
"WSF" <so*****@microsoft.com> wrote in message news:nN*********************@news.xtra.co.nz... Contact me at my email address below if you would like outside help with this. My fees are very reasonable.
-- PC Datasheet Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com www.pcdatasheet.com
PC Datasheet wrote: > I have a form with an unbound combobox at the top and seventeen controls > below it. Is there a simple way to prevent data entry in any of thecontrols > until a selection is made in the combobox? > > Thanks! > > Steve > >
Thanks for your responses!
Steve
"PC Datasheet" <no****@nospam.spam> wrote in message
news:W_*****************@newsread3.news.atl.earthl ink.net... I have a form with an unbound combobox at the top and seventeen controls below it. Is there a simple way to prevent data entry in any of the controls until a selection is made in the combobox?
Thanks!
Steve
"Marshall Barton" <ma*********@wowway.com> wrote in message
news:g8********************************@4ax.com... John, tina
If you're correct, the poster got it backwards.
OTOH, it looks more like someone sticking it back where it came from.
Indeed, and I don't believe for one minute that "PC Datasheet" didn't
already know the answer to the question he asked.
Very perceptive of you young Marshall.
I figured if it is good enough to advertise in one's responses why not
do so in one's questions!
ah hah hah hah hah hah hah hah hah hah hah haaaaaaaaaah ! hiccup!
Marshall Barton wrote: John, tina
If you're correct, the poster got it backwards.
OTOH, it looks more like someone sticking it back where it came from.
Either way, it's good for a laugh.
While I appreciate the complement WSF, I can not let a
misunderstanding go uncorrected. The word "young" is not an
appropriate description of me, even if it is relative to
your own feelings of decrepitude ;-)
--
Marsh
WSF wrote: Very perceptive of you young Marshall. I figured if it is good enough to advertise in one's responses why not do so in one's questions!
ah hah hah hah hah hah hah hah hah hah hah haaaaaaaaaah ! hiccup! Marshall Barton wrote: John, tina
If you're correct, the poster got it backwards.
OTOH, it looks more like someone sticking it back where it came from.
Either way, it's good for a laugh.
"Marshall Barton" wrote While I appreciate the complement WSF, I can not let a misunderstanding go uncorrected. The word "young" is not an appropriate description of me, even if it is relative to your own feelings of decrepitude ;-)
Gosh, Marsh, I thought "young, handsome, wearing a jaunty beret" was a
perfectly apt description. Of course, my POV on age may from some here.
<GRIN>
Larry
I fear the physical decrepitude may be on me soon enough but the mental,
no! There but for a sense of humour go we all.
WSF
Marshall Barton wrote: While I appreciate the complement WSF, I can not let a misunderstanding go uncorrected. The word "young" is not an appropriate description of me, even if it is relative to your own feelings of decrepitude ;-) -- Marsh WSF wrote:
Very perceptive of you young Marshall. I figured if it is good enough to advertise in one's responses why not do so in one's questions!
ah hah hah hah hah hah hah hah hah hah hah haaaaaaaaaah ! hiccup! Marshall Barton wrote:
John, tina
If you're correct, the poster got it backwards.
OTOH, it looks more like someone sticking it back where it came from.
Either way, it's good for a laugh.
I think both Larry amd I are in total aggreement with your
sentiments.
Keep on truck'n
--
Marsh
WSF wrote: I fear the physical decrepitude may be on me soon enough but the mental, no! There but for a sense of humour go we all.
Marshall Barton wrote: While I appreciate the complement WSF, I can not let a misunderstanding go uncorrected. The word "young" is not an appropriate description of me, even if it is relative to your own feelings of decrepitude ;-)
WSF wrote:Very perceptive of you young Marshall. I figured if it is good enough to advertise in one's responses why not do so in one's questions!
ah hah hah hah hah hah hah hah hah hah hah haaaaaaaaaah ! hiccup!
Marshall Barton wrote: John, tina
If you're correct, the poster got it backwards.
OTOH, it looks more like someone sticking it back where it came from.
Either way, it's good for a laugh. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Iain Miller |
last post by:
Struggling a bit here & would be grateful for any help.
I have a table which has a list of people in it. Each person has a unique ID
automatically allocated by Access but also belongs to one of 5...
|
by: Trent |
last post by:
I am in the design phase of a new database and am having a devil of a
time with a subform.
I have three tables that relate to problem - Suppliers tbl, Customers
tbl and a SuppliersCustomers tbl....
|
by: Josef Meile |
last post by:
Hi,
I'm using a ComboBox, some Textboxes, and a DataGrid to represent a
many-to-many relationship between Person and Course. Each time that I change
the value in the ComboBox (which for now is...
|
by: Tosch |
last post by:
I have a combobox where a user can select a zoom factor or enter a
zoom factor.
I tried to limit entry into the combobox to numbers only by catching
the keydown event and setting e.handled = true...
|
by: tizmagik |
last post by:
I have a combobox on a continuous form that has a recordsource that is
set upon Form_Load event via VBA (based on initial form data and
external form data entered). For data entry purposes the...
|
by: Richard |
last post by:
Very typical normal data
Table One
------
One.OneID (PK)
One.Name
One.Description
One.TwoID (FK)
One.ThreeID (FK)
....
|
by: Radu |
last post by:
Hi. I have the following problem - I need to build a user-control in
asp.net (an ascx) to somehow allow the users to search by first name
or last name among a big (~10.000 records) email addresses...
|
by: Wingot |
last post by:
Hey,
I have a program I am trying to write using Visual C#, SQL Server
2005/2008, and Visual Studio 2008, and one part of it includes a Schema
called Client. Inside this schema, three tables...
|
by: Maria DiGiano |
last post by:
I am using Access to organize data from a survey which uses a Likert
scale to measure response- the scale is 3 points- "I agree", "I don't
know" and "I disagree". The numerical value of each...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
| |