Hello
[FONT="]i [/FONT][FONT="]tried [/FONT][FONT="][FONT="]to en[/FONT][/FONT][FONT="][FONT="]ter a field in query as follows[/FONT][/FONT]
izr4: DCount("*";"[sourcetbl]";" sourcetbl.IDfield<=" & [sourcetbl].[IDfield])
bu[FONT="]t i[/FONT][FONT="][FONT="]t[/FONT] re[/FONT][FONT="]turns [/FONT][FONT="]only [/FONT][FONT="][/FONT][FONT="]the[/FONT][FONT="] IDs selec[/FONT][FONT="][FONT="][/FONT][FONT="]ted by query[/FONT],[/FONT][FONT="][/FONT]
[FONT="][FONT="]
[/FONT][/FONT][FONT="][FONT="][/FONT][/FONT]
[FONT="][FONT="][/FONT][/FONT]
i would like [FONT="]t[/FONT]o have "renumbered" IDfield wi[FONT="][/FONT][FONT="]t[/FONT]h exclusion of resul[FONT="][/FONT][FONT="]ts no[/FONT][FONT="][/FONT][FONT="]t included in query, bu[/FONT][FONT="][/FONT][FONT="]t s[/FONT][FONT="][/FONT][FONT="]till sequen[/FONT][FONT="][/FONT][FONT="]tially numbered 1,2,3,4,5,...[/FONT]
[FONT="][/FONT]
in [FONT="][/FONT][FONT="]the examples i found [/FONT][FONT="]this was only achieved by renaming [/FONT][FONT="][FONT="][/FONT][FONT="]t[/FONT]he query some[/FONT][FONT="][FONT="][/FONT][FONT="]t[/FONT]hing like "[/FONT][FONT="][FONT="][/FONT][FONT="]t2[/FONT]" and [/FONT][FONT="]using a subquery. I don[/FONT][FONT="][/FONT][FONT="]t know wha[/FONT][FONT="][/FONT][FONT="]t [/FONT][FONT="][/FONT][FONT="]to do/how [/FONT][FONT="][FONT="][/FONT][FONT="][/FONT][FONT="]t[/FONT]o rename, since my query is based on mul[/FONT][FONT="][/FONT][FONT="]tiple [/FONT][FONT="][/FONT][FONT="]tables[/FONT]
[FONT="][/FONT]
[FONT="][/FONT][FONT="]the query and repor[/FONT][FONT="][/FONT][FONT="]t in ques[/FONT][FONT="][FONT="][/FONT][FONT="]t[/FONT]ion are loca[/FONT][FONT="][FONT="][/FONT][FONT="]t[/FONT]ed under[/FONT]
[FONT="]Porocila/Porocilo o [/FONT][FONT="]zace[/FONT][FONT="][FONT="][/FONT][FONT="]t[/FONT]ni proi[/FONT][FONT="]zvodnji - XF4[/FONT]
[FONT="][/FONT]
query and repor[FONT="][/FONT][FONT="][/FONT][FONT="]t can be opened by clicking on bu[/FONT][FONT="][/FONT][FONT="][/FONT][FONT="]t[/FONT][FONT="][/FONT][FONT="][/FONT][FONT="]tons[/FONT]
[FONT="][/FONT]
i also a[FONT="]t[/FONT][FONT="]tached a sample da[/FONT][FONT="]tabase found online wi[/FONT][FONT="]th solved problem bu[/FONT][FONT="]t i can[/FONT][FONT="]t find a way [/FONT][FONT="][FONT="]t[/FONT]o copy i[/FONT][FONT="]t in[/FONT][FONT="]to my da[/FONT][FONT="]tabase (hope i[/FONT][FONT="]t will help someone)[/FONT][FONT="][/FONT]
[FONT="][/FONT][FONT="][/FONT][FONT="][/FONT][FONT="][/FONT][FONT="][FONT="][/FONT][/FONT][FONT="][/FONT][FONT="][/FONT]