jaymz69
asked on
Report Listner for VFP 9
any body have any good links for a tutorial using ReportListner?
Or sample code of how they have used it?
Thanks
Or sample code of how they have used it?
Thanks
ASKER
My whole thing is I have a small form for my exe
all you doo is enter a nber and it validates
if it finds a match i want it to bring all the details up in a full screen so the user can look at it and the print the report.
Right I have to make my input form big as the screen ( which seems wowed since there is so little info on the form)
all you doo is enter a nber and it validates
if it finds a match i want it to bring all the details up in a full screen so the user can look at it and the print the report.
Right I have to make my input form big as the screen ( which seems wowed since there is so little info on the form)
You may leave the main form small and maximize it before report preview. Or you may display the report in different standalone and large form. This problem is not related to Report listener.
ASKER
That is what I am looking for. The Different Stand Alone Form to Show Print Preview.
What are some helpful links on that.
What are some helpful links on that.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok I got it to work on my end. That is what I was looking for ....
THANK YOU
Is there a way to get the print preview tool bar (Close and Print ) to be with it?
Or Even add the bottons ?
Thanks again
THANK YOU
Is there a way to get the print preview tool bar (Close and Print ) to be with it?
Or Even add the bottons ?
Thanks again
The toolbar is inside the main VFP window and I don't know how to place it into report preview window just now.
If you place some buttons to the preview window and place commands described here to button's click methods: http://www.tek-tips.com/faqs.cfm?fid=4480 then it should work.
If you place some buttons to the preview window and place commands described here to button's click methods: http://www.tek-tips.com/faqs.cfm?fid=4480 then it should work.
ASKER
I would some how need to when creating the windo create the button object(s) to it...?
Now it seems it is easier to maximize the application form before the report preview instead of the separate window - the toolbar will be on top in such case.
ASKER
this is wierd, to me...
After I print from the Windos dialog prompt my form has the report on the form...
see the attachment
before and after look
before-after.doc
After I print from the Windos dialog prompt my form has the report on the form...
see the attachment
before and after look
before-after.doc
I think you need NOCONSOLE keyword in REPORT FORM command.
ASKER
your right.
noconsole window myReport
noconsole window myReport
ASKER
I ment at this line of code:
Report Form manifest.FRX To Printer PROMPT NOCONSOLE
Report Form manifest.FRX To Printer PROMPT NOCONSOLE
You should start here:
http://www.code-magazine.com/Article.aspx?quickid=0404032
Then you may continue here:
http://fox.wikis.com/wc.dll?Wiki~ReportListener
and follow all links included.
If you would rather like something from Microsoft then here it is:
http://msdn.microsoft.com/en-us/library/ms965279.aspx
http://msdn.microsoft.com/en-us/library/ms965281.aspx
http://msdn.microsoft.com/en-us/library/ms950434(VS.80).aspx
VFP help also contains useful information and, of course, Hentzenwerke has books in stock: http://www.hentzenwerke.com/catalog/vfprw.htm