Hi im just looking on the best way to do the the following any tips would be appreciated
i have created a long query using union so for ease of use lets say the query
SELECT Name, Code, info FROM table1 where info = 'Y'
I have done some code to display the results on the page looping through the results, what i was enquiring is how is the best way to print something based on the results...
for instance if Code was equal to ZZ then to print blue pen or if Code equals TT print black paper and so forth.
Thanks 4 looking