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

Anybody knows how to use formulas?

Status
Not open for further replies.

mn20

Programmer
Feb 16, 2001
10
SG
I do my reports in a web browser so I use CrystalViewer. I'm wondering if you know how to filter the report using the SelectionFormula (whats the syntax?). Also, I'd like to know how to pass FormulaFields or Formulas (the syntax also).

thanks!
 
Try This:

YourReport.SelectionFormula = "{YourTable.YourField}= " & YourVariable

YourReport.Formulas(0) = "YourReportFormulaName= " & YourVariable

Make sure you do not have space between YourReportFormulaName and = sign.

Try!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top