that does not work for what i need to do.
Let try a beter example.
I run a query named getdata, which gets invoice numbers.
I then need to display the items of each entry on the
invoice, code1, through code15,
So therefore if code1 is 201 and code2 is 999
co when i set counter = 1 i need the display 201 and when
counter = 2 i need the display of 999
I need this to work but i get code is not defined. so
therefore i need to join the variables, is this possible.