473,407 Members | 2,312 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,407 software developers and data experts.

Controlling controls with controls

I'm brand new to Access. I've created a small database and I'm trying to figure out how to set one control to manage another control.

I have a control set to dropdown with values "Uncoached" and "Coached". The default value is "Uncoached".

I have another control called "CoachedDate". I would like this field to autopopulate with the present date when the user changes "Uncoached" to "Coached".

Can someone please help? Thanks in advance.
Sep 24 '07 #1
3 1043
missinglinq
3,532 Expert 2GB
Expand|Select|Wrap|Line Numbers
  1. Private Sub CoachStatusComboBox_AfterUpdate()
  2.   If CoachStatusComboBox = "Coached" Then Me.CoachedDate = Date
  3. End Sub
WElcome to TheScripts!

Linq ;0)>
Sep 24 '07 #2
ahh, beautiful. works perfectly.

Thanks a lot for the help.
Sep 24 '07 #3
missinglinq
3,532 Expert 2GB
That's why we're here!

Linq ;0)>
Sep 24 '07 #4

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

Similar topics

0
by: Deano | last post by:
I have 3 groups of controls each in their own frame and all are sitting on a page in a tab control. I want the user to be able to tab between the controls in each frame; at the moment tabbing...
3
by: John Spiegel | last post by:
Hi all, How can you control where a placeholder is positioned on a Web Form? AFAIK, It doesn't seem to support a style or other positioning (or even sizing) attributes. TIA, John
0
by: HarryS | last post by:
Hi, Just wondering if someone can point me in the direction of a good tutorial. Today I was trying to come up with a way of controlling an asp:adrotator in the codebehind file, as I wanted...
8
by: GaryDean | last post by:
We have been noticing that questions on vs.2005/2.0 don't appear to get much in answers so I'm reposting some questions posted by some of the programmers here in our organization that never got...
0
by: Riverburn | last post by:
C# - using forms using Visual studio 2005 WinXP SP 2 The Title is a bit strange, but I had no idea what else to call my problem. it is a rather specific problem, and I don't know if there is a...
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
marktang
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,...
0
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...
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
agi2029
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,...
0
isladogs
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...

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.