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!

Why doesn't this selection forumula work: Parameters and Wildcards

Status
Not open for further replies.

bigracefan

Programmer
Apr 2, 2002
304
0
0
US
Here is what I'm trying to pass:
{ECU_CHECKER_DETAILS.LINE} = {?Line} and
{ECU_CHECKER_DETAILS.TEST_DATE_TIME} >= {?StartDate} and
{ECU_CHECKER_DETAILS.TEST_DATE_TIME} <= {?EndDate} and
{?TesterName} = &quot;All&quot; or
{ECU_CHECKER_DETAILS.TESTER_NAME} like &quot;{?TesterName}*&quot;


The &quot;All&quot; works but when I try to pass a value into the &quot;{?TesterName}*&quot; parameter I get no results. For testing I put the parameter field on the header so I can see what it's passing. The value should work but doesn't bring back anythig. Is this the proper way to use parameters and wild cards?
Thanks.
Pete
 
Hi,
please change it...

{ECU_CHECKER_DETAILS.LINE} = {?Line} and
{ECU_CHECKER_DETAILS.TEST_DATE_TIME} >= {?StartDate} and
{ECU_CHECKER_DETAILS.TEST_DATE_TIME} <= {?EndDate} and
({?TesterName} = &quot;All&quot; or
{ECU_CHECKER_DETAILS.TESTER_NAME} like {?TesterName}+&quot;*&quot;)

then it should works.

Good luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top