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

RecordSelectionFormula doesn't work

Status
Not open for further replies.

adigrescenko

Programmer
Mar 7, 2002
5
RO
In my VB application, using CrystalReports, I want to select the records that are displayed on report.
I used this:
Report.RecordSelectionFormula = "{MyTable.Age}=24"
but I have this error: "This field name is not known", but I am sure that the table and field names are correct.
I tryed to use SQLSelectionFormula , but it doesn't work too.
Please help me!
 
To rule out a spelling problem or field name problem, cut this formula and paste it directly into the report's record selection formula (in the report design environment). See if it is accepted. I would be surprised if a data-type error would give that error. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top