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

generate report with a visual basic variable

Status
Not open for further replies.

furlman41

MIS
Sep 25, 2002
18
US
I'm a brand new CR user. I am working with a Visual Basic program. I was wondering if there was any way to filter a report with a variable from visual basic.

ex. I want to display the report WHERE Client.ClientID = clientID(variable from VB), rather than define the variable in CR.

Any advice?
 

Thanks for the quick response.

When i tried your piece of code I got the following error:

Run-Time Error 438:
Object doesn't support this property or method.

For some reason .RecordSelectionFormula isn't recognized. I am using the old version of CR(4.6) that comes with Visual Basic. Is this the reason?

-john
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top