Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 22nd, 2004, 10:25 AM
Oliver_No1 Oliver_No1 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 1 Oliver_No1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry Update Query

Hi All,

Im a newbie - and have next to no knowledge of SQL or VBA - so i would appreciate it if any answers would state everything in idiot proof simplicity!.

And heres the issue:-

I wish to run an update query that will ask for a parameter initially then send the results to a new table-then automatically email itself on to the customer.

Or in other words....

So I need to query table A(with a paramater) then send the result to table B -Then email that on to my specified recipitent.

I can run parameter led queries easily enough -but update queries just wont produce the results in table B.

As i hope to become more advanced i would like to learnd VBA and SQL - which would be the best to start with?

Reply With Quote
  #2  
Old February 23rd, 2004, 09:34 AM
supersubra's Avatar
supersubra supersubra is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Coimbatore, India
Posts: 280 supersubra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 15 m 10 sec
Reputation Power: 6
For First part update query try this

UPDATE B.Field1 INNER JOIN A ON B.MatchingFieldname = A.MatchingFieldname SET B.Field1 = A![Field1], B.Field2 = A![Field2]
WHERE ((A.ParameterFieldname)=[Parametervalue])
__________________
V.Subramanian

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Update Query


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT