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

prompt once

Status
Not open for further replies.

DanNorris2000

Technical User
Nov 10, 2000
186
US
I would like to print a series of Crystal reports, all of which use the same report parameter, "?bookto"
How do I prompt the user once for the string and use it as the value for all?


CrxReport.ParameterFields.GetItemByName("BOOKTO").AddCurrentValue = (YYYMM from user)?

Thank you

 
That worked great! Can I stop the printer dialog box from coming up?

CrxReport.ParameterFields.GetItemByName("bookto").AddCurrentValue Val(strbookto)

CrxReport.PaperOrientation = crLandscape
CrxReport.PrintOut

 
I got it
CrxReport.PrintOut True(should be false), 1, True, 1, 9999

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top