EcoStruxure IT forum
Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 03:00 AM . Last Modified: 2024-04-05 03:39 AM
Hello Everyone ,
About our insight tools , we can enable the multi select function , Please refer as below ,
How to use script on multi select function like select * from name in( 'n1' , 'n2' , 'n3') ?
Kindly advise ,thank you.
Best Regards
(CID:126882940)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 03:00 AM . Last Modified: 2024-04-05 03:39 AM
Hello, I'm keen to dog into your question but this is a very busy time of year for me so I though I'd let you know of my interest but lack of time. Sorry that doesn't help you much. If its not too urgent I can check in next few weeks
Kind regards
Ed
(CID:126884365)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 03:00 AM . Last Modified: 2024-04-05 03:39 AM
Hello Ed ,
Thank you for kindly response , this case is not too urgent and we are pleasure to see your check when you are available , thank you . : )
(CID:126884412)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 03:00 AM . Last Modified: 2024-04-05 03:39 AM
Hello Chu Li Wei,
Basically you need to script your data set. What I would do is to add a unique identifier to your query in the data set like this:
select * from table where field in ('SomeUniqueString')
Then in your data set script in the before open option I would add:
this.queryText = this.queryText.replace("SomeUniqueString", params["p_name"].value.join(" ',' "));
This should replace the "SomeUniqueString" string with the multiple values from your parameters and insert them in your query.
If your parameter is of type Integer and not string (p_name indicates its a string), then you need to remove the ' ' from the query and the script.
Hope this helps.
Morten
(CID:126886472)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 03:00 AM . Last Modified: 2023-10-22 02:35 AM
This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.