Hi,
I have a query that sets up my table for using at various points, want I want to do is have an Item number field created by the query. Essentially I just want it to number the records from 1 through N, like an AutoNumber field in a table but i want it to always start at 1 for whatever is displayed by the query.
The code below shows the SQL of the query, the first part "No start at 1 then +1" AS [Item No]" is what I want to be the numbered field.
Thanks,
Jon
I have a query that sets up my table for using at various points, want I want to do is have an Item number field created by the query. Essentially I just want it to number the records from 1 through N, like an AutoNumber field in a table but i want it to always start at 1 for whatever is displayed by the query.
The code below shows the SQL of the query, the first part "No start at 1 then +1" AS [Item No]" is what I want to be the numbered field.
Code:
SELECT "No start at 1 then +1" AS [Item No], "LABMATS" AS [Project Code], "" AS [Project Task], "" AS [Expense Code], Order_Holding.Qty, Order_Holding.Item, Order_Holding.Description, Order_Holding.Price_£, Order_Holding.Total_Price_£
FROM Order_Holding;
Thanks,
Jon