I need help with a Query Output...
I have a very complicated query that collects data accross 4 tables all linked by key ids . What I want to do is be able to output this query like this:
tbl1.field1
tbl2.field1
tbl3.field1
tbl3.field2
tbl3.field3
tbl3.field4
tbl2.field2
tbl3.field1
tbl3.field2
tbl2.field3
tbl3.field1
tbl1.field2
...
and so on.
I could do this easily with a long series of Queryies inside loops but I dont want to. Does anyone have some tips on looping through a query like this?
Thanks
I have a very complicated query that collects data accross 4 tables all linked by key ids . What I want to do is be able to output this query like this:
tbl1.field1
tbl2.field1
tbl3.field1
tbl3.field2
tbl3.field3
tbl3.field4
tbl2.field2
tbl3.field1
tbl3.field2
tbl2.field3
tbl3.field1
tbl1.field2
...
and so on.
I could do this easily with a long series of Queryies inside loops but I dont want to. Does anyone have some tips on looping through a query like this?
Thanks