J
Julia Boswell
Hi
I've got the following query:
SELECT QuoteItems.SubHeading, QuoteItems.Qty, QuoteItems.PN,
QuoteItems.Desc, QuoteItems.LeadTime, QuoteItems.Optional, QuoteItems.Price,
Quotes.ROE, [Price]*[Roe] AS USDPrice, [Qty]*[USDPrice] AS TotalValue
FROM Quotes INNER JOIN QuoteItems ON Quotes.RecordID = QuoteItems.QuoteID
GROUP BY QuoteItems.SubHeading, QuoteItems.Qty, QuoteItems.PN,
QuoteItems.Desc, QuoteItems.LeadTime, QuoteItems.Optional, QuoteItems.Price,
Quotes.ROE, [Price]*[Roe], [Qty]*[USDPrice]
ORDER BY QuoteItems.SubHeading, QuoteItems.PN;
I want to add an extra column (Item Number) that gives each record a
numerical value starting at 1 and incrementing by 1 for each record.
Is that possible in a query?
Thanks
Julia
I've got the following query:
SELECT QuoteItems.SubHeading, QuoteItems.Qty, QuoteItems.PN,
QuoteItems.Desc, QuoteItems.LeadTime, QuoteItems.Optional, QuoteItems.Price,
Quotes.ROE, [Price]*[Roe] AS USDPrice, [Qty]*[USDPrice] AS TotalValue
FROM Quotes INNER JOIN QuoteItems ON Quotes.RecordID = QuoteItems.QuoteID
GROUP BY QuoteItems.SubHeading, QuoteItems.Qty, QuoteItems.PN,
QuoteItems.Desc, QuoteItems.LeadTime, QuoteItems.Optional, QuoteItems.Price,
Quotes.ROE, [Price]*[Roe], [Qty]*[USDPrice]
ORDER BY QuoteItems.SubHeading, QuoteItems.PN;
I want to add an extra column (Item Number) that gives each record a
numerical value starting at 1 and incrementing by 1 for each record.
Is that possible in a query?
Thanks
Julia