Hi Access Experts.
Can anyone offer up some helpful suggestions on how I can get a field in an Access Query to index the results from two columns?
Attached is a snippet of the data I am trying to index. Below is an extract from the attached file for explanation purposes.
I am hoping to get the formula in the NItem column to index (1, 2, 3, etc) the data in the DocumentNO (3400000237, etc) and GLcc (44551300) columns.
Thus, for document number 3400000237 it repeats twice and thus there are two GL Accounts associated with it, thus there is NItems 1 and 2 associated with it. Where there is only one GL account associated with the document number there will thus be one document number and one Nitem number or 1.
There are thousands of these rows in the access table, thus I was hoping to build a query where the NItem column would be smart enough to index as described above.
Can any one help?
Thank you so much in advance.
Fiscl DocumentNo GLcc AcctName AmountLC NItem
2014 3400000237 44551300 VAT recov.-domestic 37.43 1
2014 2 3400000237 62622000 Tel. costs - mobile 249.90 2
2014 2 3400000238 44551300 VAT recov.-domestic 5.25 1
2014 2 3400000238 60631000 Non-stock fact.suppl 104.95 2
2014 2 3400000239 44551300 VAT recov.-domestic 13.63 1
2014 2 3400000239 62621000 Tel. costs - fixed 93.91 2
2014 2 3400000240 44551300 VAT recov.-domestic 573.54 1
2014 2 3400000240 62440000 Freight admin 3,830.00 2
Bookmarks