Welcome! Log In Create A New Profile

Advanced

Custom Report Path

Posted by Michele Moscioni.pcs.crosspost 
Michele Moscioni.pcs.crosspost
Custom Report Path
March 11, 2009 01:46PM
Hi every body,
this is my first post,
I have began to use WINDEV six month ago, so I need a suggestion about
Report usage.
I'm working on an application that make PDF and send them to a printing
house. All works very well an I'quiet happy.
The application run on a terminal server and it is used by different
group of users(companies), now I need to customize reports for different
groups.
I wish to separate report files in different folders. One custom folder
for each company.
It is right print a report by iPrintreport function using an absolute path?
Eg.
sReportName="h:\tmp\"+EDT_CompCode+"\"+EDT_CustRep
iPreview(i100, "Preview", True)
iPrintReport(sReportName,"")

Can I insert new report in a custom folder eve if this report is not in
the project?

How can I use Report & Query app in a right way?

Thanks in advantage
Michele



Message forwarded from pcsoft.us.windev
Arie
Re: Custom Report Path
March 11, 2009 02:13PM
It is right print a report by iPrintreport function using an absolute path?
YES

Can I insert new report in a custom folder eve if this report is not in the project?
YES

In fact "Reports&Query" is working this way. Whenever you modify a report, it is stored on disk, at a pre-defined location. Whenever WD "sees" such a file, it is superceding the original one inside your exe.
And when you create a new report you can iPrintReport it, using an absolute path. You could show those reports to your users and let them pick one.

Arie
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: