I've been messing with this for awhile and need to call on ya'll for help.
1. We are getting donations of items for an auction and each item description (ItemDescription) and monetary value (ItemValue) is logged into a table (tbl_history) along with other pertinent information.
2. Each item has an item number (a manually assigned number, not an auto-num) and also a Package Number (a manually assigned number, not an auto-num) because the auction will be by Package, not by Individual Items. Some Packages will have only 1 item, but some Packages may have numerous items.
I've exported all of the auction items into a second table, tbl_Auction_Items. Each row of that table equals one record in tbl_History. (I did the second table because tbl_History has a LOT of other information in it and the export to another table made it less klutzy to work with).
There are two things that I need assistance with, and I think a query may be the best way to go but I'm open to any suggestions.
1. I need to (in tbl_Auction_Items) fill in a PackageDescription field that would be comprised of all of the ItemDescriptions for items in the same Package Number.
For example, if there were three rows in tbl_Auction_Items with Package Number 18 with item descriptions of "2007 Cadillac" in one row, "1 Year free fuel" in row 2, and "1 year free carwash" in row three, I would like the PackageDescription field to contain all three of those text data: "2007 Cadillac", "1 Year free fuel", and "1 year free carwash".
Also in the PackageValue field I need to have the sum of all ItemValue in the package.
Sorry for the convoluted description. I spend little time in Access these days, and have been beating myself over the head trying to figure out the easiest way of saying "This Package contains these items and is worth this much" - only in a table, not a report.
Thanks for any ideas on this one!
1. We are getting donations of items for an auction and each item description (ItemDescription) and monetary value (ItemValue) is logged into a table (tbl_history) along with other pertinent information.
2. Each item has an item number (a manually assigned number, not an auto-num) and also a Package Number (a manually assigned number, not an auto-num) because the auction will be by Package, not by Individual Items. Some Packages will have only 1 item, but some Packages may have numerous items.
I've exported all of the auction items into a second table, tbl_Auction_Items. Each row of that table equals one record in tbl_History. (I did the second table because tbl_History has a LOT of other information in it and the export to another table made it less klutzy to work with).
There are two things that I need assistance with, and I think a query may be the best way to go but I'm open to any suggestions.
1. I need to (in tbl_Auction_Items) fill in a PackageDescription field that would be comprised of all of the ItemDescriptions for items in the same Package Number.
For example, if there were three rows in tbl_Auction_Items with Package Number 18 with item descriptions of "2007 Cadillac" in one row, "1 Year free fuel" in row 2, and "1 year free carwash" in row three, I would like the PackageDescription field to contain all three of those text data: "2007 Cadillac", "1 Year free fuel", and "1 year free carwash".
Also in the PackageValue field I need to have the sum of all ItemValue in the package.
Sorry for the convoluted description. I spend little time in Access these days, and have been beating myself over the head trying to figure out the easiest way of saying "This Package contains these items and is worth this much" - only in a table, not a report.
Thanks for any ideas on this one!