combobox filtering
combobox filtering
I have a combobox that is binded with this field: Req.code
Now I would like to filter the items that are shown in it by the beginning of the characters of this field, like "FIX" and then a wildcard for all the numbers of FIX (FIX0001, FIX0002, ...)
How can I achieve this with the designer?
many thanks
Now I would like to filter the items that are shown in it by the beginning of the characters of this field, like "FIX" and then a wildcard for all the numbers of FIX (FIX0001, FIX0002, ...)
How can I achieve this with the designer?
many thanks
combobox filtering
Hello.
Thank you.
Please, try to use next expression in the filter:jmmv wrote:I have a combobox that is binded with this field: Req.code
Now I would like to filter the items that are shown in it by the beginning of the characters of this field, like "FIX" and then a wildcard for all the numbers of FIX (FIX0001, FIX0002, ...)
How can I achieve this with the designer?
Code: Select all
Req.code.Substring(0, 3) == "FIX"
combobox filtering
Thanks for your support. Unfortunately with this expression nothing is shown...Aleksey wrote:Hello.
Please, try to use next expression in the filter:Thank you.Code: Select all
Req.code.Substring(0, 3) == "FIX"

Is this the right place to put the expression? I could not find any other field that could be right.
combobox filtering
Hello.
We need more time to prepare an answer for you.
Thank you.
We need more time to prepare an answer for you.
Thank you.
combobox filtering
Hello,
You can create additional datasource (as Data from other datasource) which will contains only records with substring "FIX" and use it additional data source in Combobox.
Thank you.
You can create additional datasource (as Data from other datasource) which will contains only records with substring "FIX" and use it additional data source in Combobox.
Thank you.
combobox filtering
Hello.
Please, look at the attached report template.
Thank you.
Please, look at the attached report template.
Thank you.
- Attachments
-
- 1652.Report.mrt
- (21.52 KiB) Downloaded 243 times
combobox filtering
great, worked perfectly.Aleksey wrote:Hello,
You can create additional datasource (as Data from other datasource) which will contains only records with substring "FIX" and use it additional data source in Combobox.
Thank you.
Thank you very much for the support. Thanks also for the example report, made it easier to understand.
combobox filtering
How can I make this new datasouce (data from other datasource) persist?Aleksey wrote:Hello,
You can create additional datasource (as Data from other datasource) which will contains only records with substring "FIX" and use it additional data source in Combobox.
Thank you.
Every time I close the designer it disappears and I have to recreate it.
combobox filtering
Hello.
Thank you.
The Data Source from other Data Source should stay. Did you save this report?jmmv wrote:How can I make this new datasouce (data from other datasource) persist?
Every time I close the designer it disappears and I have to recreate it.
Thank you.
combobox filtering
Yes I saved it...Aleksey wrote:Hello.The Data Source from other Data Source should stay. Did you save this report?jmmv wrote:How can I make this new datasouce (data from other datasource) persist?
Every time I close the designer it disappears and I have to recreate it.
Thank you.
I just added the datasource again and made also some changes to the report and saved it again. After closing and reopening the Designer only the new datasource is no longer there.