You are reading help file online using chmlib.com
|
Rave Reports Visual Designer Example Parameters . |
Top Previous Next |
Sample event that GET's a parameter named "LineCount", "increments" it, and then SET's (saves) it. This could be used if you wanted to have row counts with a Master-Detail-Detail relationship with 2 or more details groups.
Remember that parameters must be a string value.
{ Event for DataTextCount1.OnGetText } function DataTextCount1_OnGetText(Self: TRaveDataText; var Value: string); var iCount: Integer; sCount: String; begin iCount := StrToInt(RaveProject.GetParam('LineCount')); sCount := IntToStr(iCount + 1); Value := sCount; RaveProject.SetParam('LineCount', sCount); end OnGetText;
|
You are reading help file online using chmlib.com
|