John Spencer said:
Why do you need the sequential number?
Simply to use DSUM based on the basis of the same.
If you just want a line number in a report, it is very easy to handle this in
the report.
Thanx John but it is the query which I want to use in multiple outputs,
forms, queries & reports.
If you want a sequential number what is it based on?
It is to be based on the order in which the entries were recorded.
Are the invoice numbers
in alphabetic order and you want to use that order to assign the "serial"
number?
No they are alphanumeric based upon the type of entry
Please help us help you by supplying data types, table and field names, and a
few sample records along with the desired result.
datatypes of all the fields are text and table name is Orders. Samples of
few entries are as follows:
DT (Domicile Tracking ID); INV; AMT
Agent I; I-091201-A001; 60,000
Agent II; II-091031-A001; 50,000
Agent II; I-100111-A001; 40,500
Agent III; I-100201-A001; 90,750
Agent I; I-100228-A001; 66,442
You might try searching for "ranking query" to see some examples.
Thanx but that did not help as well!
Sorry 4 inconvenience of any sort buddy. Thanx anyway.