Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Linking Reports
Message
From
01/02/2010 07:02:12
 
 
To
30/01/2010 16:48:54
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
01446538
Message ID:
01446866
Views:
44
>>>>Hello
>>>>I made a class lolistener based on reportlistener
>>>>and then did
>>>>
>>>>
>>>>
>>>>   loListener = createobject('MyReportListener')
>>>>
>>>>   report form book1 NOCONSOLE PREVIEW  NOEJECT object loListener&&object TYPE 1
>>>>	Report form student_app NOCONSOLE PREVIEW NOEJECT object loListener
>>>>
>>>>
>>>>Also i tried using
>>>>
>>>>   report form book1  NOEJECT object  TYPE 1
>>>>Report form student_app  NOEJECT object type 1
>>>>
>>>>
>>>>SO why does the first code give me errors
>>>>and why does the second one still eject me :(
>>>
>>>You might want to have look at www.report-sculptor.com
>>>It supports true merging of multiple reports into bigger one with page n/totpages supported across all of them.
>>>
>>>See RS Demo project for code samples of how to do it.
>>>
>>>RS is completely free.
>>>
>>>HTH
>>>Sergio
>>
>>
>>thats not coding..i dont know what that is...:(
>
>It is free add-on. As with any other add-on you integrate it first (which is very simple)
>and then you can do what you wanted to originally.
>
>Here is demo code sample you can use to do what you want ;
>
>
>local oRS
>oRS = GetRsObject()
>oRS.lAutoFirstPage=.f.
>
>local cFrx1,cFrx2
>with oRS
>
>    .OpenSession()
>
>
>     cFrx1 =   HOME() + 'SAMPLES\SOLUTION\REPORTS\' +  'ledger.FRX'
>     cFrx2 =   HOME() + 'SAMPLES\SOLUTION\REPORTS\' +  'Colors.FRX'
>     cFrx3 =   home()+ 'tools\Filespec\'  +  '60frx1.FRX'
> 
>     .LoadFrx(rsFrx(cFrx1                    ))  &&Import result of frx for given scope
>     .LoadFrx(rsFrx(cFrx2                    ))  &&Import result of frx for given scope
>     .LoadFrx(rsFrx(cFrx3                    ))  &&Import result of frx for given scope
>  
> 
>    .CloseSession()
>
>  
>endwith
>oRs.Output( 1 , .t. )  &&Foxpro9 native preview
>
>
>
>See help which can be found on website or extracted directly from RsDemo sample form #10.
>
>HTH
>Sergio

Thanks...but im going to see if i can get this done without an addon
Previous
Reply
Map
View

Click here to load this message in the networking platform