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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reports preview ....

Status
Not open for further replies.

DannC

Programmer
Apr 5, 2001
75
RO
Hi,

Is there a way to change the preview area of a report trough commands. All I want is to "dock" the report preview in a area of the screen.

Thanks.
 
You could use this:
Code:
oForm = CREATEOBJECT("Form")
   WITH oForm
     .Caption = "My docked report"
     .Top = 50  && Or wherever you want
     .Left = 50 && Or wherever you want
     .WindowState = 0 && Normal
     .Show()
   ENDWITH
REPORT FORM &cRepName PREVIEW WINDOW (oForm.Name)
oForm.Release()

And change the Top and Left properties to whatever you want.
 
Thanks ! Thanks for sharing your knowlege.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top