How to know number of records of a MasterData band?

2,543 views
Skip to first unread message

José Luis Capel

unread,
Nov 25, 2011, 10:10:20 AM11/25/11
to fastreport_f...@googlegroups.com
Hi Sergey,

Is there any way to know how many records are in a MasterData band (before print starts) ?

Something like MasterData1.Dataset.RowCount ??

I saw MasterData.RowCount but for a user dataset allways returns 0.

--
--
Saludos,
José Luis Capel
www.capelblog.com

Spirin Sergey

unread,
Nov 27, 2011, 3:52:05 PM11/27/11
to FastReport for [x]Harbour, Alaska Xbase++, Visual FoxPro
Hello, José,

.DataSet.RecordCount

But!!! It's only Clipper LastRec() call, so Filtering commands such
as SET FILTER
or SET DELETED have no effect on the return value etc.

---
Sergey Spirin.
FastReport for Xbase-family languages,
www.spirins.com.

Reply all
Reply to author
Forward
0 new messages