If i attemp to add some code in RAP, OnGetFileSuffix i get the error "TraEventHandler.SetEventName: RTTI for event OnGetFileSuffix exists. I run RB 11.03.
< Attached is the patch. Simply unzip the files in the .zip file into your \RBuilder\Lib\... directory and rebuild < < your application.
I done this as described in the mail with the patch.
When i attempt to rebuild my application in D2007 i get the error
[DCC Error] RdHoved.pas(7): F2051 Unit ppDB was compiled with a different version of ppTypes.TppCollationType. When i attempt to rebuild my application in D2009 i get the error
[DCC Fatal Error] RdHoved.pas(9): F2051 Unit raIDE was compiled with a different version of ppDsgner.TppDesignerWindow
How can i solve this? I have several impatient customers so please help.
Comments
Terje
http://www.digital-metaphors.com/rbWiki/Output/PDF/How_To...Separate_File_for_Each_Group
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
If i attemp to add some code in RAP, OnGetFileSuffix i get the error
"TraEventHandler.SetEventName: RTTI for event OnGetFileSuffix exists. I run
RB 11.03.
Please tell me this can be done in RAP?
Regards, Terje
There is a patch available for RB 11.03 that fixes this issue. Please send
an email to support@digital-metaphors.com requesting the patch.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
< Attached is the patch. Simply unzip the files in the .zip file into your
\RBuilder\Lib\... directory and rebuild < < your application.
I done this as described in the mail with the patch.
When i attempt to rebuild my application in D2007 i get the error
[DCC Error] RdHoved.pas(7): F2051 Unit ppDB was compiled with a different
version of ppTypes.TppCollationType.
When i attempt to rebuild my application in D2009 i get the error
[DCC Fatal Error] RdHoved.pas(9): F2051 Unit raIDE was compiled with a
different version of ppDsgner.TppDesignerWindow
How can i solve this? I have several impatient customers so please help.
Best regards,
Terje Syversen
Please upgrade to RB 11.04. The fix is included in this version.
For upgrade instructions, contact info@digital-metaphors.com with your
serial number and purchasing email address.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I have upgraded to 11.04 and done exactly like it says in "Separate File for
Each Group" in RbWiki. In my application i have set the report.properties
DeviceType := 'PDF';
AllowPrintToFile := true;
TextFileName := '_';
ShowPrintDialog := false;
I have set OnGetFileSuffix like this.
begin
SuffixValue := 'C:\'+Kontrakt['Owner']+'.pdf';
end;
I know that this report should generate 14 pdf files. None is created:
What am i doing wrong?
Best regards,
Terje
Forget the previous mail. Problem is solved.
Thanks,
Terje