How to scan and count controls present in DataAccessPage of Access DataBase programmatically?
- by Suman
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