hello quovuz,
thanks for your help.
i have another problem with data report. it doesn't support multiple hierarchy. here's the situation, i have 1 header table let's call it (header_1) and 3 detail tables for header_1.
i will give u the sample situation of my problem:
header table name: header_1
fields: seq_no int
pname char
detail table name: detail_1
fields: seq_no int
amount money
detail_2
fields: seq_no int
condition money
detail_3
fields: seq_no int
description money
quantity
i need to create a report for selected of header_1 with details coming from tables detail_1, detail_2, detail_3.
detail_1, detail2, and detail_3 are not related to each one another they are just related to header_1. how should i display the data in this format:
seq_no: 001
pname: John Doe
Details:
Amount Condition Description Quantity
------------------------------------------------
100 xxxxxxx yyyyyyyyy 56
ggggggggg
200 tttttttt 70
i tried making a temporary table and manipulated the data by stored procedure but the process is so slow. is there any other way to create this report by linking only the primary key(seq_no) so that i will no longer use a temporary table???
please help... thank you!