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

CR Viewer in Dot Net

Status
Not open for further replies.

bartee

MIS
Mar 20, 2005
147
US
I am trying to launch a report from my vb.net application. I built it using Visual Studio 2003.

I have the following in my code:

crReportDocument.RecordSelectionFormula = "{mytable.myvariable} = 5"

I get the following error:
"This field name is not known"

Field Name exists. Formula runs fine when it's in the report. Problem only occurs when launching through viewer control and passing formula in code (as above).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top