[AccessD] Re-query 2nd combo on subform

Griffiths, Richard R.Griffiths at bury.gov.uk
Thu Apr 19 08:57:08 CDT 2007


Yes combo 2 has a query source that references combo 1 e.g. combo 1 -
Activity Code... Combo 2 sub-Activity Code

When you select Activity code you want combo 2 to list all
sub-activities for that main activity code



-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin
at Beach Access Software
Sent: 19 April 2007 13:41
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] Re-query 2nd combo on subform

In the After Update event of Combo1 are you requerying Combo2?  What's
the
row source for Combo2?  Does it include the value of Combo1?

Rocky
 




 	
	

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths,
Richard
Sent: Thursday, April 19, 2007 3:50 AM
To: AccessD at databaseadvisors.com
Subject: [AccessD] Re-query 2nd combo on subform

Hi

Access 97

It's been a long time since I've posted here - still take a regular
look,
even though I concentrate on .net these days.
A combination of time without Access and lack of time to play around
myself..... but I have someone asking my advice.

Scenario.....timesheet screen...

header record with continuous subform details.
Two combo's on the subform....the second of which needs to be re-queried
based on the value in combo 1.
This is actioned on the after-update event of combo1.

The undesired result is that on previous records in the subform combo 2
is
cleared out when combo 1 is re-queried (if the list id different say to
the
current record). 

I'm sure I've been here before......but can't get the solution...so all
you
active MS Accessers..... any clues??

Thanks in advance


Richard Griffiths
0161 253 5169
Software Developer


--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 4/18/2007
7:39 AM
 

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com






More information about the AccessD mailing list