Hi!
I have a situation where I need to remove certain events based on a certain other events
An example of on a situation/selection. The report is grouped on case numbers. I am only interested in Court claims after a certain event has occured. Might be useful to know that these events also are stored in the same table.
date case code description amount
20050802 C10147 680 Court claim1 sent 845
20061107 C10147 069 Transport declaration 1 sent 0
20080116 C10147 067 Transport declaration 2 Credit sent 0
20080909 C10147 680 Court claim sent 860
In this case theres been sendt 2 courtclaims. But, the first one is sendt before a certain code/event, in this case "069 transport declaration". Therefor, this is an event i am not interessted in. I am only interested in court claim 2 and the amount on this one so I can certain calculations.
It is tricky because all this info is in the same table. It contains the history on cases. If I could somehow say "If date > date on a certain code, that might help. Something like "If date > date on code In ["069","...."]". But this would mean I need to compare fields on the same line. Code and date on specific events, and I dont know how to do that.
Hope this was somewhat understandable and that someone has a solution.
Best Regards
Ernst Noto
I have a situation where I need to remove certain events based on a certain other events
An example of on a situation/selection. The report is grouped on case numbers. I am only interested in Court claims after a certain event has occured. Might be useful to know that these events also are stored in the same table.
date case code description amount
20050802 C10147 680 Court claim1 sent 845
20061107 C10147 069 Transport declaration 1 sent 0
20080116 C10147 067 Transport declaration 2 Credit sent 0
20080909 C10147 680 Court claim sent 860
In this case theres been sendt 2 courtclaims. But, the first one is sendt before a certain code/event, in this case "069 transport declaration". Therefor, this is an event i am not interessted in. I am only interested in court claim 2 and the amount on this one so I can certain calculations.
It is tricky because all this info is in the same table. It contains the history on cases. If I could somehow say "If date > date on a certain code, that might help. Something like "If date > date on code In ["069","...."]". But this would mean I need to compare fields on the same line. Code and date on specific events, and I dont know how to do that.
Hope this was somewhat understandable and that someone has a solution.
Best Regards
Ernst Noto