keepingbusy
Programmer
Hello guys
I have created a report with two tables (e.g. MYMAINTABLE, MYCHILDTABLE)
Both table have a common link of MASTLINK which is a numeric field
The report itself prints fine with no problem but I am stumped to find out how you can order the Child records on the report so they show in a particular order in the detail band.
The Child table has several fields MASTLINK (N), FREETEXT (M), PARANO (N) etc
There are two issues here:
1: IF you print or preview the report as normal, the child records are shown in reverse to the way they were actually entered
2: When we are entering details into the table (MYCHILDTABLE), each FREETEXT field is assign a PARANO so this gives a sequential number. Sometimes if an entry is missed in the FREETEXT field we may have to add and change the PARANO to a number before so for example, FREETEXT PARANO 1, FREETEXT PARANO 2, FREETEXT PARANO 4, FREETEXT PARANO 3.
We have an INDEX ON the PARANO field and if you SET ORDER TO PARANO and BROWSE the table that shows them in the desired order.
What I would like to do is:
REPORT FORM MYREPORT PREVIEW FOR MASTLINK=15 (and have the child records on that report ordered by PARANO)
I am sorry for the comprehensive explanation above but I have learned with this forum, the more you give, the better response you get!
Some guidance would be very much appreciated.
Many thanks
Lee
I have created a report with two tables (e.g. MYMAINTABLE, MYCHILDTABLE)
Both table have a common link of MASTLINK which is a numeric field
The report itself prints fine with no problem but I am stumped to find out how you can order the Child records on the report so they show in a particular order in the detail band.
The Child table has several fields MASTLINK (N), FREETEXT (M), PARANO (N) etc
There are two issues here:
1: IF you print or preview the report as normal, the child records are shown in reverse to the way they were actually entered
2: When we are entering details into the table (MYCHILDTABLE), each FREETEXT field is assign a PARANO so this gives a sequential number. Sometimes if an entry is missed in the FREETEXT field we may have to add and change the PARANO to a number before so for example, FREETEXT PARANO 1, FREETEXT PARANO 2, FREETEXT PARANO 4, FREETEXT PARANO 3.
We have an INDEX ON the PARANO field and if you SET ORDER TO PARANO and BROWSE the table that shows them in the desired order.
What I would like to do is:
REPORT FORM MYREPORT PREVIEW FOR MASTLINK=15 (and have the child records on that report ordered by PARANO)
I am sorry for the comprehensive explanation above but I have learned with this forum, the more you give, the better response you get!
Some guidance would be very much appreciated.
Many thanks
Lee