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

referencing parameter in sql query

Status
Not open for further replies.

ttchimera

Programmer
Jun 13, 2007
12
US
I need to use a parameter passed by a user to a sql query. Is there a way in CR8 to do this? I try passing it within curly braces, but it did not work. Thanks
 
You cannot reference parameters directly in the "Show SQL Query" area in 8.0. You should just go to report->edit selection formula->record and use the parameter in the formula, as in:

{table.value} = {?parameter}

The value will appear in the where clause of the Show SQL Query if it is set up correctly.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top