Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: multi value parameters - selection editor Post Reply Post New Topic
Author Message
djstephens
Newbie
Newbie
Avatar

Joined: 27 Aug 2009
Location: Australia
Online Status: Offline
Posts: 16
Quote djstephens Replybullet Topic: multi value parameters - selection editor
    Posted: 21 Sep 2009 at 12:07am
Hi
 
?lcc_inp_tech is setup as multi value parameter field which displays several values from a table
 
not ({lcc_requests_timespent.Request Status} in ["Closed", "Resolved"]) and
{lcc_requests_timespent.Technician} in [{?lcc_inp_tech}]
 
needs to be setup as array , can someone advise what is the correct syntax
 
cheers
 
Dazza
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 21 Sep 2009 at 7:05am
In this case you should be able to make it = rather than in and it will check all values entered into the pararm
 
not ({lcc_requests_timespent.Request Status} in ["Closed", "Resolved"]) and
{lcc_requests_timespent.Technician}={?lcc_inp_tech}


Edited by DBlank - 21 Sep 2009 at 7:06am
IP IP Logged
djstephens
Newbie
Newbie
Avatar

Joined: 27 Aug 2009
Location: Australia
Online Status: Offline
Posts: 16
Quote djstephens Replybullet Posted: 21 Sep 2009 at 5:44pm
Still get message this array has to be subscripted ?
Dazza
IP IP Logged
Jyothi Yepuri
Senior Member
Senior Member


Joined: 11 May 2009
Location: Australia
Online Status: Offline
Posts: 127
Quote Jyothi Yepuri Replybullet Posted: 21 Sep 2009 at 6:11pm
Try
{lcc_requests_timespent.Technician} in {?lcc_inp_tech}

Jyothi
IP IP Logged
djstephens
Newbie
Newbie
Avatar

Joined: 27 Aug 2009
Location: Australia
Online Status: Offline
Posts: 16
Quote djstephens Replybullet Posted: 21 Sep 2009 at 6:20pm

get message this array has to be subscripted

inputting

Dazza
IP IP Logged
Jyothi Yepuri
Senior Member
Senior Member


Joined: 11 May 2009
Location: Australia
Online Status: Offline
Posts: 127
Quote Jyothi Yepuri Replybullet Posted: 21 Sep 2009 at 6:30pm
Is it working when you provide a index number?

like this
{lcc_requests_timespent.Technician} in {?lcc_inp_tech}[1]

Jyothi
IP IP Logged
djstephens
Newbie
Newbie
Avatar

Joined: 27 Aug 2009
Location: Australia
Online Status: Offline
Posts: 16
Quote djstephens Replybullet Posted: 22 Sep 2009 at 9:13pm
Yes it will select the multivalue that equals the number
 
so i need to create an array ??
Dazza
IP IP Logged
Jyothi Yepuri
Senior Member
Senior Member


Joined: 11 May 2009
Location: Australia
Online Status: Offline
Posts: 127
Quote Jyothi Yepuri Replybullet Posted: 22 Sep 2009 at 9:20pm
{?lcc_inp_tech} is an array rgt!!

did you try this {lcc_requests_timespent.Technician} in {?lcc_inp_tech}
with out []

Jyothi

IP IP Logged
djstephens
Newbie
Newbie
Avatar

Joined: 27 Aug 2009
Location: Australia
Online Status: Offline
Posts: 16
Quote djstephens Replybullet Posted: 23 Sep 2009 at 5:04pm
yes dosnt work system message about creating array
Dazza
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.