Advertisement

11.01.2007 at 12:49PM PDT, ID: 22933311
[x]
Attachment Details

Use of Me.ActiveControl.Name to identify selected control

Asked by Travidia in Microsoft Access Database

Tags: , ,

I have a query as my form data source.  It uses a control from another form as criteria.  I want to now make a new control that identifies which control is selected.  
I found this: Me.ActiveControl.Name  but I don't know how to use it in a query.  Can I set a new control to display this and then use that in my query?  

Example: User selected Child A - I want to show that client data
#2 User selects Parent 4 - I want to show data on Parent.  This should all show up in one form using the same fields.  Start Free Trial
[+][-]11.01.2007 at 12:54PM PDT, ID: 20196132

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.01.2007 at 12:55PM PDT, ID: 20196145

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Access Database
Tags: control, form, selected
Sign Up Now!
Solution Provided By: DatabaseMX
Participating Experts: 2
Solution Grade: A
 
 
[+][-]11.01.2007 at 01:18PM PDT, ID: 20196319

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.01.2007 at 01:20PM PDT, ID: 20196328

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628