W
What-a-Tool
I have a table which tracks steel inventory.
Steel is categorized by width and thickness, and tracks the total weight in
stock.
Sometimes steel is entered into the table as single rolls in stock, and
sometimes by total delivery weight. Once it is into the table I group it all
together and Sum the weight field.
I do this by creating a recordset from a SUM query of the table, and also
create another recordset of the contents of the table.
I loop thru the table contents recordset, deleting all items, then I AddNew
items to the list, which I populate with the data from the SUM recordset in
another loop.
This works fine - but there is so much about recordsets that I am un-aware
of, I figure there must be an easier way to copy the data from the SUM
recordset into the table recordset.
Help?
--
/ Sean the Mc /
"Opinions are like flatulence - everyone loves the sound of their own, but
anyone else's usually just stinks !"
-anonymous
Steel is categorized by width and thickness, and tracks the total weight in
stock.
Sometimes steel is entered into the table as single rolls in stock, and
sometimes by total delivery weight. Once it is into the table I group it all
together and Sum the weight field.
I do this by creating a recordset from a SUM query of the table, and also
create another recordset of the contents of the table.
I loop thru the table contents recordset, deleting all items, then I AddNew
items to the list, which I populate with the data from the SUM recordset in
another loop.
This works fine - but there is so much about recordsets that I am un-aware
of, I figure there must be an easier way to copy the data from the SUM
recordset into the table recordset.
Help?
--
/ Sean the Mc /
"Opinions are like flatulence - everyone loves the sound of their own, but
anyone else's usually just stinks !"
-anonymous