F
form control location Access
I've already defined these variables:
Microsoft.Office.Interop.Access.Application oAccess,
Microsoft.Office.Interop.Access.Form oForm,
Microsoft.Office.Interop.Access.Controls oCtls, and had assigned them correct
values;
Now I can use a method to get the properties of a specified control such as
Caption,Font and so on like this: Microsoft.Office.Interop.Access.Lable
lable=(Microsoft.Office.Interop.Access.Label)oCtls["LableName"];
But I don't know how to determine whether a control is located in a
specified area(eg. form header/footer, page header/footer or form body), or
in another way, how to examine the target area to confirm whether my target
control exists?
Thank you for your kindly help!
Microsoft.Office.Interop.Access.Application oAccess,
Microsoft.Office.Interop.Access.Form oForm,
Microsoft.Office.Interop.Access.Controls oCtls, and had assigned them correct
values;
Now I can use a method to get the properties of a specified control such as
Caption,Font and so on like this: Microsoft.Office.Interop.Access.Lable
lable=(Microsoft.Office.Interop.Access.Label)oCtls["LableName"];
But I don't know how to determine whether a control is located in a
specified area(eg. form header/footer, page header/footer or form body), or
in another way, how to examine the target area to confirm whether my target
control exists?
Thank you for your kindly help!