Creating reports and dashboards | Stimulsoft community forum
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
I want to configure my report parameters so that when a parent variable is selected, the child variable automatically populates only when there is exactly one matching value in the data source.
If more than one matching value exists, the child variable should remain blank so that the user can manually choose the desired option.
Is there any way to do this? Would appreciate your inputs to help
Thanks for confirming that there’s no built-in option for this.
Just to clarify, would it be possible to replicate at least a simpler version of the behavior?
Specifically:
The child variable remains blank by default. When the parent variable is filled in and there’s only one related record, the child variable automatically populates with that value.
I just wanted to confirm whether this kind of logic could be handled in a script event (e.g., BeginRender) or expression, or if it’s completely unsupported in stimulsoft?