Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preview Report IN WINDOW nightmare 2

Status
Not open for further replies.

csr

Programmer
Jul 20, 2000
507
I wish to preview my reports in a window placed on the desktop. So, this is what I thought would do that.
Well, it almost works.

Without going through all my problems with this, does anyone see anything wrong with this function I have created ?


FUNCTION previewReport(cReportName)
LOCAL nPreviewScreenWidth, nPreviewScreenHeight
nPreviewScreenWidth = 130
nPreviewScreenHeight = 50
DEFINE WINDOW wPreview FROM 1,1 TO nPreviewScreenHeight,nPreviewScreenWidth IN DESKTOP
ACTIVATE WINDOW wPreview
REPORT FORM (cReportName) NOCONSOLE PREVIEW IN WINDOW wPreview
RELEASE WINDOWS wPreview
RETURN .t.


Don


 
Ok, well it appears we have take this to the point where it requires some careful study and groundbreaking coding for me. So, I thank you for your help and I will look into what you have provided. This may not happen real soon (I have other fish to fry) it will happen. thanks again.



Don


 
You are welcome. Take one step at a time :)

Thanks for the star

-- AirCon --
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top