From: David on 13 May 2010 08:55
I have several years experience with Excel VBA
I'm hoping someone can give me a kick start with access VBA example code
for the following simplified example:
tbl_Fruit has 2 fields: WeekNumber, Fruit (4 varieties)
QueryFruit has CountOf Fruit for a specified WeekNumber
How would I cycle through many week numbers and output and capture the query
result for each?
From: Daniel Pineault on 13 May 2010 09:06
If I understand what you are wishing to do, take a look at
simply replace the Table1 with your query name.
If this isn't what you are looking for, please explain your needs further.
Hope this helps,
For Access Tips and Examples: http://www.devhut.net
Please rate this post using the vote buttons if it was helpful.
> I have several years experience with Excel VBA
> I'm hoping someone can give me a kick start with access VBA example code
> for the following simplified example:
> tbl_Fruit has 2 fields: WeekNumber, Fruit (4 varieties)
> QueryFruit has CountOf Fruit for a specified WeekNumber
> How would I cycle through many week numbers and output and capture the query
> result for each?
From: Linq Adams via AccessMonster.com on 14 May 2010 19:09
With your background, you also need to keep in mind that Excel VBA and Access
VBA are not the same language! Some functions are available in both and some
aren't, and some with the same exact name work differently, depending on
whether it's Excel or Access.
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000/2003
Message posted via AccessMonster.com
Prev: email attachment ATTOOOO1(0.3KB) & hey you.mht(1.3KB)
Next: Column Name