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!

Array in Parameter

Status
Not open for further replies.

Corres

Technical User
Jun 13, 2006
87
CA
CRXI, SQL Server.
My user wants to choose multiple projects. In the parameter Value Options, I chose Allow Multiple Values.
My Record selection Formula is:

if {?ProjectID}>0 then {EntryLog.ProjectID} = {?ProjectID} else not isnull({EntryLog.ProjectID})

But it gives error:

The array must be subscripted. For example: Array

Can you please help me with the syntax of array for project for this selection formula?
Thanks very much!

 
Change it to:

if {?ProjectID} [red]<>[/red] 0 then
{EntryLog.ProjectID} = {?ProjectID} else
not isnull({EntryLog.ProjectID})

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top