A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Beginner needs Combo Box help



 
 
Thread Tools Display Modes
  #21  
Old March 9th, 2006, 05:32 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Beginner needs Combo Box help

This is an easy one. Lets say Control2 will be enabled or disabled (greyed
out and can't be modified) Based on a value in Control1. First thing is to
decide what the default is. If you want Control2 to be disabled until a
value is entered in Control1, set the Enabled property for Control2 to No in
design view; otherwise set it to Yes.

Then there are two places in your form you will need to address. Once is
the After Update event of Control1 where you can decide what to do to
Control2.


"serviceman via AccessMonster.com" wrote:

Thanks Klatuu,
As I'm reading your last post I have redesigned the table structure for my
scheduling, so that there will be no need to create tables on the fly. I am
going through the pains of building a calendar table (what fun; calendar data
was engineered by some people chained to a rock in the desert!
One thing I haven't quite figured out yet:
Can a field or control be 'grayed out" or disabled based on the current value
in another field or control? I don't want to give too much power to the
masses!
Andy

Klatuu wrote:
It has been fun. Glad to help someone who is so easy to work with.

One last thing regarding creating a table. If you plan to use a Make Table
query, be aware it guesses at data types, so you may not get exactly what you
want. It also has the bad habit of assigning the default field length to
every text field. As shipped, it is set at 255, so you will waste a lot of
space. You can change that in Tools, Options, Tables/Queries tab, but is
will still waste space or possibly truncate data. They way I handle this
situation is to create a table with the structure I want, then when I need to
put data in it, delete the data that is currently in it, then use and Append
query to load the new data.

Good luck with Access. As fast as you catch on, I am sure you will be a
star in no time.

Thats it! It works! Single quotes and your last code snippet did the trick!
Thanks so much for the advice and support; it goes a LONG way. My background

[quoted text clipped - 57 lines]
it out!
Andy


--
A $300 dollar picture tube will protect a 10 cent fuse by blowing first-
Murphy

Message posted via http://www.accessmonster.com

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default Value for Combo Box Steve Running & Setting Up Queries 1 February 23rd, 2006 10:00 PM
Hidden Power of the Combo Box JethroUK© New Users 2 October 24th, 2005 09:18 AM
Hidden Power of the Combo Box JethroUK© Using Forms 2 October 24th, 2005 09:18 AM
COMBO BOX transfer of info Philip from Malta Europe Using Forms 0 July 6th, 2005 09:52 AM
Combo box value determined by the value of another combo box LouD General Discussion 8 July 9th, 2004 08:45 PM


All times are GMT +1. The time now is 08:46 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.