No of records in subForm

P

Pantelis

On the OnCurrent event code of a Main Form I want to have the number of the
records that exist in the subForm and if there is a simplest way to know that
there are no record.
 
V

Van T. Dinh

Have you tried:

Me.[SubformControl].Form.RecordsetClone.RecordCount

?

(assuming the code is run in the context of the main Form)
 
Top