How to scan and count controls present in DataAccessPage of Access DataBase programmatically?
Posted
by Suman
on Stack Overflow
See other posts from Stack Overflow
or by Suman
Published on 2009-08-27T10:07:27Z
Indexed on
2010/06/12
10:02 UTC
Read the original article
Hit count: 230
As per my application (Vb.net), it scans the Access database for Active-X controls.
It is working now for Report form and Access Form.
The code to find out controls is as follows:
oReportCtls = oReport.Controls
For Each oReportCtl In oReportCtls
If oReportCtl.ControlType = 119 Then 'Activex Control'
intReportObjectCount = intReportObjectCount + 1
End If
Next
But for DataAccessPages I am not getting any reference for Controls.
Need Help:
Please let me know it is possible or not? If yes, then please provide me some reference or example.
Many Many Thanks, Sugam
© Stack Overflow or respective owner