Quantcast
Channel: NetOffice - MS Office in .NET
Viewing all articles
Browse latest Browse all 1741

New Post: Additional question

$
0
0
How can I identify type of object from a variable declared as NetOffice.AccessApi.Form?
For example for Microsoft.Office.Interop.Access.From I can use TypeName.
If TypeName(frm) = "Form_ObjectName" then Form, if TypeName(frm) = "T_ObjectName" then Table, if TypeName(frm) = "ObjectName" (or "_ObjectName") then Query.
Only by using UnderlyingObject?

Thanks!

Viewing all articles
Browse latest Browse all 1741

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>