A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

use query results in vb code



 
 
Thread Tools Display Modes
  #1  
Old February 8th, 2005, 03:41 AM
minimal experience via AccessMonster.com
external usenet poster
 
Posts: n/a
Default use query results in vb code

I'm very frustrated. I have two tables, tblPoints and tblProducts.
tblPoints contains PointID (PK), CustomerID, ProductID, Date, and Invoice
Number. tblProducts contains ProductID, ProductName, and PointValue. At
the click of a button, I want to check to see how many points a Customer
has for each of the three products. If the Customer has = 11 points for
any of the three products, I need to move the 11 purchases that the
customer made from the tblPoints and put them in an archive table. I can
check each product separately if needed.
I've tried numerous approaches and I can't come up with a solution. Any
assistance at all will be GREATLY appreciated. THANKS!

--
Message posted via http://www.accessmonster.com
  #2  
Old February 8th, 2005, 03:57 AM
minimal experience via AccessMonster.com
external usenet poster
 
Posts: n/a
Default

Let it also be noted that I have the total amount of products purchased for
each product showing on a subform for each customer.

--
Message posted via http://www.accessmonster.com
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dynamic crosstab A2002 Brigitte P Running & Setting Up Queries 13 January 2nd, 2005 04:25 PM
How sql server returns query results in vba code? Sunny New Users 0 December 20th, 2004 03:14 PM
Attn Sprinks- Not duplicate insert records babs Using Forms 1 December 13th, 2004 06:25 PM
Too Few Parameters error Mail Merge Access Parameter Query Tony_VBACoder Mailmerge 3 September 14th, 2004 12:15 PM
Query not providing correct results. Lisa Beach Running & Setting Up Queries 0 August 9th, 2004 08:17 PM


All times are GMT +1. The time now is 05:01 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.