baanprog
4th September 2002, 18:29
Hi all,
I developed a customised report, its getting compiled but when i run it i get the following error:
"Error in reading sort file record, 6 fields scanned, 10 expected."
All 10 input fields are getting values.
The following areas iam doubtful about:
1. I have used in print expression fields like (tdpur046.amtb*tdpur046.qana).How can we use thigns like this.
2.Can we get total in after.fields , if in report script, i write expression like
tot.perc = total of (tdpur046.amtb)/total of (tdpur046.qana)
will baan take the total of fields in after field or just the value these fields have at the time the layout is printed, Iam using aggregate expression to find totals for the above field.
Please Help!! VERY URGENT
Thanks
I developed a customised report, its getting compiled but when i run it i get the following error:
"Error in reading sort file record, 6 fields scanned, 10 expected."
All 10 input fields are getting values.
The following areas iam doubtful about:
1. I have used in print expression fields like (tdpur046.amtb*tdpur046.qana).How can we use thigns like this.
2.Can we get total in after.fields , if in report script, i write expression like
tot.perc = total of (tdpur046.amtb)/total of (tdpur046.qana)
will baan take the total of fields in after field or just the value these fields have at the time the layout is printed, Iam using aggregate expression to find totals for the above field.
Please Help!! VERY URGENT
Thanks