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

string parameters (simple question for new user)

Status
Not open for further replies.

craigmk

Programmer
Nov 20, 2000
11
US
I am a PowerBuilder programmer trying to learn Crystal Reports. Everything seems straightforward except the parameter field formats. Anyways, in the where clause, I am trying to connect a string field in the table to a string parameter. It works fine when I use WHERE (employee.login_id = '4040') But when I try doing it with a string paramater that I have defined, I get no data at all. I say WHERE (employee.login_id = '{?login_parm}') When I run the query and I enter 4040, I get no data. What am I doing wrong?
 
How about WHERE employee.login_id = {?login_parm}?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top