How to Update and Select Simultaneously

Joined
Jun 9, 2005
Messages
2
Reaction score
0
How do I update an Access table and then Select rows for display inside one query in Access? Is there a continue command? Or GO command? I want to display the rows right after the update is completed.

Here is my Update code: (it works)

UPDATE [Weekly Metrics]
INNER JOIN lkpPartners ON [Weekly Metrics].Customer=lkpPartners.Partner
SET [Weekly Metrics].SLADueDate = [Weekly Metrics].DateReceived+lkpPartners.[SLA Days];

Here is my Select code: (it works)
SELECT
[Weekly Metrics].[Box Number],
[Weekly Metrics].Customer,
[Weekly Metrics].[DateReceived],
[Weekly Metrics].SLADueDate
FROM [Weekly Metrics];


How do I mix them inside one query? I am not a SQL expert and am an Access programming beginner.

Thanks.


 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

SubQuery or SubReport?? 13
Duplicates - Query Joining 1
format command 3
Fiscal year 2
Help on IE Object for Excel 2
Combining two fileds of information in the legend of a bar chart. 4
IF, Then, else 5
no records 1

Back
Top