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

Do not want to show frx name while previewing report vfp6

Status
Not open for further replies.

ashnam10

Programmer
Jul 18, 2007
24
IN
Dear All,

I donot want to show frx name while preveiwing any report from my application. How do i go about it

i give
***creat for prevform

report form myrep to print prompt preview in window prevform


Thanks in advance

 
Do you mean the FRX name that appears in the title bar of the preview window? Since you have created your own preview form, you merely have to change its Caption property. You can set it to anything you like.

If you mean the report name that appears in the Windows Print Manager, you can't change that in VFP 6.0.

If this doesn't answer your question, perhaps you could clarify what you want to do.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Thanks for your prompt reply.

But my screen shot shows as follows

First line shows caption of the form ie "Report Preview"
Then there is another title bar which shows "Report Designer MYFRM.FRX - Page 1"

It is this title bar that I want to remove. Thanks for your prompt reply and i am in urgent need for this.

 
Do you mean you need a custom preview window?

I use:

Local whatCaption, m.showpicrep, m.name
m.showpicrep = .T.
m.name = CustomerName

whatCaption = "Race Report Program - Click Close Window Icon to Return"


oRepForm = Createobject("Form")
With oRepForm
.Caption = whatCaption
.WindowState = 2
.Show()
Endwith

Repo Form "reports\" + (upickrep) &forclause To Printer Prompt Preview Window (oRepForm.Name)

oRepForm.Release()

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top