Re: XFRX Issues

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Cathy - I have tried running this.

On my form which contains the data I want to report on I have added two
properties opreviewform and olistener and then tried running your code (with
suitable entries for setparams) but have tripped up on the line
Factory("XFRXPreview")

I don't know what this is (or its property ctrXFRX). I just want to use the
default preview form if possible.

Sincerely

Stephen


"Cathy Pountney" <cathy@xxxxxxxxxxxxxxxx> wrote in message
news:ehPAgK0EJHA.1272@xxxxxxxxxxxxxxxxxxxxxxx
I use XFRX in our app, along with VFP 9. Here's the stripped down version
of how we run reports ...

SET CLASSLIB TO HOME() + '\FFC\_ReportListener' ADDITIVE
SET DATASESSION TO 1
This.oListener = XFRX('XFRX#LISTENER')
SET DATASESSION TO (m.lnDataSession)
This.oPreviewForm = Factory("XFRXPreview")
lnRetVal = This.oListener.SetParams( ...
REPORT FORM Whatever TO PRINTER PROMPT PREVIEW OBJECT This.oListener
This.oPreviewForm.ctrXFRX.Reset()
This.oListener.XFRXPreviewer = This.oPreviewForm.ctrXFRX
This.oListener.PreviewReport(This.oListener.oxfDocument)
This.oPreviewForm.Show(1)


Cathy


"Jeff Grippe" <jeff@xxxxxxxxx> wrote in message
news:FamdndFc2c5FLlvVnZ2dnUVZ_q_inZ2d@xxxxxxxxxxxxxxxx
Stephen,

I'd like to switch and I'd like to be in VFP 9 as well but I am using
this method of calling XFRX

loSession = EVALUATE([xfrx("XFRX#INIT")])
lnRetVal = loSession.SetParams(...
if lnRetVal = 0
loSession.ProcessReport(...
loSession.finalize
endif
release loSession

The last version that I tested with VFP 9 did not support this calling
method. The newer calling method worked just find, however.

Maybe I should test the newer version of XFRX and VFP 9 with this syntax.
If it worked then I could move into VFP 9 now and do the XFRX syntax
conversions at my leisure.

Right now, XFRX is the only thing I know of standing between me and VFP 9
and it is this old style calling method that is the problem.

Thanks,
Jeff
"Stephen Ibbs" <stephen@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23lJrTKpEJHA.4260@xxxxxxxxxxxxxxxxxxxxxxx
Just off topic a bit Jeff, but thought you might like to know I finally
switched from xfrx which I bought for vfp7 (and was still using in vfp
9) to the latest 12.6 xfrx version, and it is MUCH better. The reports
are aligned more accurately, it's faster, and it has the SUMMARY option
which wasn't in the earlier version. Switch as soon as you can !! <g>

Stephen


"Jeff Grippe" <jeff@xxxxxxxxx> wrote in message
news:h6qdnWTNQ__dClvVnZ2dnUVZ_jqdnZ2d@xxxxxxxxxxxxxxxx
It isn't just a straight conversion issue.

At the "big picture" level, we've got an accounting system and credit
reporting that is specific to our industry.

At the detail level, we've done a lot of work. We've got:
A web site that querys and updates our database
An FTP upload/download with our key trading partner
Image scanning, document storage and retreival
Periodic reporting by emal/fax

All of these features would need to be in a new system. I know how to
do all of them very well in VFP.

Some of these details require so much work that I can't even spend the
necessary time to migrate from VFP 7 SP 1 to VFP 9. I use a package
called XFRX to generate PDF's and the calling method that I use in VFP
7 does not work in VFP 9. I use it all over my applications and on my
web site. I would have to change all of them at once to the new calling
method.

I will get it done eventually when things slow down a bit but I think
I'm sticking with VFP until it just can't get the job done anymore.

Jeff
"Man-wai Chang ToDie (33.6k)" <toylet.toylet@xxxxxxxxx> wrote in
message news:uwRkjcoEJHA.1460@xxxxxxxxxxxxxxxxxxxxxxx
I don't think it is an issue which one is faster now. All .NET
languages must compiled to the Intermedia Language (IL) of .NET, and
once compiled to the IL they all should be the same for the .NET CRL
(Common Runtime Language). Don't just take my word, I am not a .NET
expert, there are plenty of information on the web about this, so
please google it and choose the language you feel more comfortable
working with.

If someone could write a translator that translate Foxpro forms into
.Net codes...

Remember how we used to do things with the old Foxpro/DOS' screen
generator? All we need is to translate things into .Net rather than
Foxpro codes. :)

--
@~@ Might, Courage, Vision, SINCERITY.
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Xubuntu 8.04.1) Linux 2.6.26.5
^ ^ 22:18:01 up 7:08 1 user load average: 1.01 1.02 1.00
? ? (CSSA):
http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa/









.



Relevant Pages

  • Re: XFRX Issues
    ... REPORT FORM Whatever TO PRINTER PROMPT PREVIEW OBJECT This.oListener ... I'd like to switch and I'd like to be in VFP 9 as well but I am using this method of calling XFRX ... The last version that I tested with VFP 9 did not support this calling method. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: XFRX Issues
    ... This is the "Preview Container" that is used when I run reports. ... I'd like to switch and I'd like to be in VFP 9 as well but I am using ... The newer calling method worked just find, ... Maybe I should test the newer version of XFRX and VFP 9 with this ...
    (microsoft.public.fox.programmer.exchange)
  • Re: XFRX Issues
    ... I'd like to switch and I'd like to be in VFP 9 as well but I am using this method of calling XFRX ... The last version that I tested with VFP 9 did not support this calling method. ... we've got an accounting system and credit reporting that is specific to our industry. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: XFRX Issues
    ... REPORT FORM Whatever TO PRINTER PROMPT PREVIEW OBJECT This.oListener ... The last version that I tested with VFP 9 did not support this calling ... The newer calling method worked just find, ... Maybe I should test the newer version of XFRX and VFP 9 with this ...
    (microsoft.public.fox.programmer.exchange)
  • Re: XFRX Issues
    ... This is the "Preview Container" that is used when I run reports. ... I'd like to switch and I'd like to be in VFP 9 as well but I am using this method of calling XFRX ... The last version that I tested with VFP 9 did not support this calling method. ...
    (microsoft.public.fox.programmer.exchange)