I am trying to set a data source as SQL in a widget for multiple choice. Is a way to know that the data returned any results. I am trying to check the field's value length but it returns 0 even when there are records populating into controls.
Can you specify what version and development model you are using?
I am using version 12 with the portal engine model.
If you're doing this via C# code I believe there is a DataHelper class with a method to check if a data source is empty or not. If start with that before writing your own function.
Please, sign in to be able to submit a new answer.