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

report data showing on form 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
when I run a report of a form the form goes gray and the data that is supposed to show on a preview window shows on the grayed form instead...any ideas? Thanks in advance.

 
report form xxxx noconsole to print David W. Grewe
Dave@internationalbid.com
ICQ VFP ActiveList #46145644
 
Thank you for the idea but I guess it didn't work. I'm still getting the same result. Here's my code:

REPORT FORM f:\source\medical\reports\transactions_type_prio.frx ;
FOR (transaction_old.serv_type = INT(VAL(ALLTRIM(ThisForm.Text1.VALUE)))) NOCONSOLE PREVIEW

Any more ideas???

Joel
 
I think you will find that if you issue the PREVIEW command, then the preview always comes up in the current window unless you specify a different window.

Have a look at the help which suggests:

PREVIEW [[IN] WINDOW WindowName | IN SCREEN]

Hope that helps,

Stewart
 
And the verdict is....

I'm an idiot! Yes, I do have enough self-respect to admit when I do something stupid and here is one of those times. I had commented out a very precious ";" that seems to have gotten by the debugger but of course was failing at runtime without an error. EndResult = I look like a chump. Oh well...thanks for all of your help. Have a good one!

Joel
 
Been There, Done That, also Joel David W. Grewe
Dave@internationalbid.com
ICQ VFP ActiveList #46145644
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top