CARLEENHOP
MIS
- Mar 7, 2010
- 61
Hi
I have orders that get ammended, I am trying to extract the order details for the most recent ammendment. I have been able to do this by grouping via the order # and then entering:
"{AP21LOG_AUDIT.AUD_DATE} = maximum({AP21LOG_AUDIT.AUD_DATE},{SORD.NUM})" under the group selection
However, because I want to group it to show results for each week, once I group via the audit date and select to display each section to print weekly. I then lost the most recent order details (get them all). If i change this group to the 2nd level of grouping then its not correct as I will get order number then week, when I want week, then order numbers.
FYI - this report will more than likely end up as a sub report against a main report incase that impacts.
Using crystal 11.5 any help appreciated.
I have orders that get ammended, I am trying to extract the order details for the most recent ammendment. I have been able to do this by grouping via the order # and then entering:
"{AP21LOG_AUDIT.AUD_DATE} = maximum({AP21LOG_AUDIT.AUD_DATE},{SORD.NUM})" under the group selection
However, because I want to group it to show results for each week, once I group via the audit date and select to display each section to print weekly. I then lost the most recent order details (get them all). If i change this group to the 2nd level of grouping then its not correct as I will get order number then week, when I want week, then order numbers.
FYI - this report will more than likely end up as a sub report against a main report incase that impacts.
Using crystal 11.5 any help appreciated.