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  

Update Query Questions



 
 
Thread Tools Display Modes
  #1  
Old November 9th, 2004, 04:26 PM
DavidL
external usenet poster
 
Posts: n/a
Default Update Query Questions

Hello,

I have some data that needs to be updated with information that is stored in
previous records in the table. The table has two different line types, one is
the header or Type "1" and the other is the detail or Type "2" records.

The Header Record is listed first in the row of the table, then the
corresponding detail records, (in this case 1 to 72 separate rows) are
included after the header. Then another header record and more detail records
etc. The header record does have a field which provides how many detail
records are associated with it.

I have created a table which I am appending the Header and the Detail
records in their correct fields. I need to write an update query to bring
over some of the Header information to the Detail Records Rows. Of course I
need the Header information to only update the detail rows that are
associated with it.

I think I need to create an update query and then use possibly a Do Loop
statement to accomplish this task but I am not sure where to start.

Any help will be greatly appreciated.

Thanks,

David


 




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
Update table from Result of Query JoeCL Running & Setting Up Queries 5 October 4th, 2004 12:30 AM
Update table from Totals query Brian T. Running & Setting Up Queries 1 September 14th, 2004 12:58 AM
select and update query combined lynn atkinson Running & Setting Up Queries 5 July 15th, 2004 03:48 PM
Newbie? Do I use Report or Query John Egan New Users 11 June 28th, 2004 08:31 PM
Update query based on values in other tables Dave New Users 0 June 11th, 2004 12:43 AM


All times are GMT +1. The time now is 11:31 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.