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!

Passing a paramater to a report from VB

Status
Not open for further replies.

Rob2k2

Technical User
Oct 14, 2002
36
0
0
GB
I have a date paramater field in one of my Crystal reports that lets me determine the month to run the report for. The parameter is called {?ReportDate}.

I want to launch the report from a VB app and need to pass the paramater value to the report.

The current SQL query to retrieve the data for the report is listed below:-

select * from mediaperformance where month = month({?ReportDate}) and year = year({?ReportDate})

Any help would be grately appreciated.

Rob
 
Ignore last post, just founf the FAQ section..lol
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top