RE: Stand Alone Report Not Included in Project

Author: Dave Crozier

Posted: 2011-04-12 at 03:46:07

Jedrry,

Just don't include the report into your project and deploy it into a folder off the applications directory e.g .\Reports. Reference the reports in this folder or use the VFP "set path to ..." and you will load/use the external report.

Make sure however that you don't reference the report directly in your code using a set report to <<report name>> as VFP will automatically include it in the executable. Instead do the following:

cPath = ".\reports\"

...

...

cReport = cPath+"My report"

report form (cReport) .....

...

etc

Dave

-----Original Message-----

From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf Of Jerry Foote

Sent: 11 April 2011 19:59

To: 'ProFox Email List'

Subject: Stand Alone Report Not Included in Project

Can I add a report to the customer site that has all information for report

generation in the BeforeOpen code section and then just place it where the

program can find it with out including it in project, and only vfp9 runtime

on machine?

Thanks Jerry

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/BD031ECABF2B60499200AAB3DBB4A99904EE09@EX-A-FPL.FPL.LOCAL

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Dave Crozier