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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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 | |
|
|
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 |