Data Type of Query Object
pinbot
Texas
What is the data type of a query object I've added?
In my script I want to "findobject" of a custom query to see if there are any records to hide a child band.
In an OnAfterPrint of a child band, I want to hide a different (later) child band.
Here is the code from my FR Studio script that I want to replicate in FR.Net
if (BilltoAccounts.RecordCount=0) then
Child5.Visible:=false
else
Child5.Visible:=true;
I need the FR.Net equivalent which I'm assuming will use FindObject. I've named the query BilltoAccounts since this is a report I've converted from Fr Studio.
Thanks.
Comments
if (Report.GetDataSource("BilltoAccounts").RowCount == 0) ...