twinnyfo,
Thank You! Yes it "...hepps!. .."
I really appreciate the code and the choice of an array. I've been trying to understand how to use arrays in vba and this is going to really help!...It'll take me a bit to digest all of this. Yes. I was confusing "...Your query is returning 6 records, but your code is trying to look at 6 fields...." I finally am beginning to understand there is a difference!
Again,...
User Profile
Collapse
-
twinnyfo, Thank you for quick response. Basis your comments I commented out the first "loop", also, revised the code to create the query, i.e., Set qdf = db.CreateQueryD ef("", strSQL)...the strSQL is the same as posted earlier. The results is as you described, i.e., I replaced line 50 with the following: LiveAuction = rst.Fields(1).V alue and the MsgBox (line 82) returned the correct value BUT the value corresponding to line...Leave a comment:
-
err 3265 <Item not found in this collection.>
A form has 2 comButtons. The purpose is to provide user with MsgBox info related to Category Totals and one related to the sum of a table field.
The category query follows:
...Code:Select qry_EventCategoryTotals_VBA_subquery.CategoryName, Sum(tblWinnersItems.Amount) AS CategoryTotals From qry_EventCategoryTotals_VBA_subquery Right Join tblWinnersItems On qry_EventCategoryTotals_VBA_subquery.ItemID = tblWinnersItems.ItemID
No activity results to display
Show More
Leave a comment: