Page 3 of 3
Re: Retrieve several entries from an Excel file
Posted: Wed Sep 20, 2017 1:54 pm
by Alex K.
Hello,
You should use this code before initializing of component:
Code: Select all
public MainForm()
{
Stimulsoft.Base.StiLicense.Key = "YourKey";
ConfigureReporting();
....
}
Thank you.
Re: Retrieve several entries from an Excel file
Posted: Wed Sep 20, 2017 2:39 pm
by Jennypi
Thank you, it worked !

Re: Retrieve several entries from an Excel file
Posted: Wed Sep 20, 2017 6:35 pm
by Alex K.
Hello
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.
Re: Retrieve several entries from an Excel file
Posted: Tue Aug 21, 2018 10:30 am
by Jennypi
Hello,
I'm back on this specific topic as the concerned report now generates an error.
I'm joining an sample data and report.
The message says something like "Invalid data type in the expression criteria".
I don't know why it is not working anymore. Users used to be able to type one or several IDs in the form:
ID= 5266
or
ID= 5266, 5566
Now it works only when typing the numbers surrounded with single quote: ID = '5266' for example.
What's wrong? How to go back to the previous behavior?
Thank you for your help.
Re: Retrieve several entries from an Excel file
Posted: Mon Aug 27, 2018 8:56 am
by Lech Kulikowski
Hello,
Your ID column is the string, in this case, the value in the IN should be in single quotes " '5266', '5566' "
You can add necessary modifications in your code in Ok button click event.
Thank you.