PDA

View Full Version : Converting to RDC



Joe Coley
20-Feb-2006, 09:23 AM
Should one be able to just callout the new cCrystal class instead of the
CrystalReport class and run existing reports which were created within
either Crystal 9 or 11? I have not had success with it, and just want to
verify that I must go through and recreate all my VDF RVs. (Much more work
than I am enthused about doing!)

David Martinko
20-Feb-2006, 12:00 PM
The CrystalReport Class makes calls using API to control printing. The
cCrystal (RDC) uses COM where the report is actually an object within your
program allowing you to talk "directly" to the report.

These are 2 totally different ways of using crystal. They have different
messages (or names of messages) so you can't just switch the class and start
going. You have to change all of your existing calls to methods that use API
to use the corresponding COM calls.

--
David Martinko
Redeemed Software
248-535-7495
RedeemedSoftware(SHIFT+2)Hotmail(PERIOD)com
www.redeemedsoftware.com
www.redeemedhosting.com

"Joe Coley" <sjoec@charter.net> wrote in message
news:DTemnkiNGHA.4760@dacmail.dataaccess.com...
Should one be able to just callout the new cCrystal class instead of the
CrystalReport class and run existing reports which were created within
either Crystal 9 or 11? I have not had success with it, and just want to
verify that I must go through and recreate all my VDF RVs. (Much more work
than I am enthused about doing!)

Joe Coley
20-Feb-2006, 06:58 PM
Guess I'm in for some major reconfigurations with the IDE -- assuming I can
use the IDE to create the "front end" of the report which already exists. I
have numerous selections etc. in my callouts to the reports. Do I need to
make any changes in the actual Crystal report itself? (When you say I have
to change all of the existing calls ...etc. -- that sounds like something
for a "real" programmer to do, which is NOT me! Am expecting the IDE to do
all that work for me.) Will I be disappointed, or can I reasonably expect
that if I have my report laid out in Crystal that using the IDE I'll be able
to pretty much do what I have been doing in the IDE?


"David Martinko" <RedeemedSoftware@Hotmail.com> wrote in message
news:Fg7JD9jNGHA.4760@dacmail.dataaccess.com...
> The CrystalReport Class makes calls using API to control printing. The
> cCrystal (RDC) uses COM where the report is actually an object within your
> program allowing you to talk "directly" to the report.
>
> These are 2 totally different ways of using crystal. They have different
> messages (or names of messages) so you can't just switch the class and
start
> going. You have to change all of your existing calls to methods that use
API
> to use the corresponding COM calls.
>
> --
> David Martinko
> Redeemed Software
> 248-535-7495
> RedeemedSoftware(SHIFT+2)Hotmail(PERIOD)com
> www.redeemedsoftware.com
> www.redeemedhosting.com
>
> "Joe Coley" <sjoec@charter.net> wrote in message
> news:DTemnkiNGHA.4760@dacmail.dataaccess.com...
> Should one be able to just callout the new cCrystal class instead of the
> CrystalReport class and run existing reports which were created within
> either Crystal 9 or 11? I have not had success with it, and just want to
> verify that I must go through and recreate all my VDF RVs. (Much more
work
> than I am enthused about doing!)
>
>
>
>

David Martinko
20-Feb-2006, 07:18 PM
Things such as Set RecordSelection to sSelection are now Set
ComRecordSelection of hoReport to sSelection. Set Formula "CompanyName" to
SysFile.CompanyName is now Send AssignFormula of hoReport "CompanyName"
SysFile.CompanyName.

The sort order has changed, setting export options setting the report name,
and even calling the report has now changed from Send Run_Report to Send
RunReport.

I have been contacted by several companies interested in having me convert
their crystal classes to use the new class.

--
David Martinko
248-535-7495
Tracker Systems, Inc.
Redeemed Software
Redeemed Hosting
www.trackersys.com
www.redeemedsoftware.com
www.redeemedhosting.com
Proud member of the Northeast DataFlex Consortium: (NEDC)
www.NEDataFlex.com

"Joe Coley" <sjoec@charter.net> wrote in message
news:md1p$lnNGHA.4992@dacmail.dataaccess.com...
Guess I'm in for some major reconfigurations with the IDE -- assuming I can
use the IDE to create the "front end" of the report which already exists. I
have numerous selections etc. in my callouts to the reports. Do I need to
make any changes in the actual Crystal report itself? (When you say I have
to change all of the existing calls ...etc. -- that sounds like something
for a "real" programmer to do, which is NOT me! Am expecting the IDE to do
all that work for me.) Will I be disappointed, or can I reasonably expect
that if I have my report laid out in Crystal that using the IDE I'll be able
to pretty much do what I have been doing in the IDE?


"David Martinko" <RedeemedSoftware@Hotmail.com> wrote in message
news:Fg7JD9jNGHA.4760@dacmail.dataaccess.com...
> The CrystalReport Class makes calls using API to control printing. The
> cCrystal (RDC) uses COM where the report is actually an object within your
> program allowing you to talk "directly" to the report.
>
> These are 2 totally different ways of using crystal. They have different
> messages (or names of messages) so you can't just switch the class and
start
> going. You have to change all of your existing calls to methods that use
API
> to use the corresponding COM calls.
>
> --
> David Martinko
> Redeemed Software
> 248-535-7495
> RedeemedSoftware(SHIFT+2)Hotmail(PERIOD)com
> www.redeemedsoftware.com
> www.redeemedhosting.com
>
> "Joe Coley" <sjoec@charter.net> wrote in message
> news:DTemnkiNGHA.4760@dacmail.dataaccess.com...
> Should one be able to just callout the new cCrystal class instead of the
> CrystalReport class and run existing reports which were created within
> either Crystal 9 or 11? I have not had success with it, and just want to
> verify that I must go through and recreate all my VDF RVs. (Much more
work
> than I am enthused about doing!)
>
>
>
>