Row count in a bound query

Is there a way to retrieve the row count in a bound query? I know it shows up on the data property in the properties listing, is there a way to access this programmatically?

I believe you are talking about a dataset property. In that case yes, you can retrieve the row count programmatically and through binding. In scripting you do the following:event.source.parent.getComponent("Comp").data.rowCount()In binding you bind a integer property to the following:len({Root Container.Comp.data})Of course you just need to change the references to your dataset property.