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!

SQL Select in formula

Status
Not open for further replies.

tornis

IS-IT--Management
Jan 7, 2002
2
SE
Hello

I have a problem with uppgrading old Crystal reports to version 8.5. Most of the formulas works fine but when I have SQL selections in the formula like this:

sql("select DESCRIPTION from PRODUCT_GRADE where PRODUCT = '" + {@country} + "' and VERSION = 1")

it dont work.

Why? and how could it be solved

 
make a subreport using the sql and integrate it into your report
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top