Home Cart [Log In] About Us Contact Us

Object Reference

xf_ControlsControl Related

Public Function GetPageControlDescriptions (
f As Form
) As Variant ' String()

Gets a list of captions for the data controls on the form. These can be used when printing validation messages. Depends on the label being attached to the parent data control.
The array returned contains a list of control names and labels separated by a colon, eg. "txtVisitDate:Visit Date" The returned array is used as-is by the table shadowing functions.

f as Form

The target form.

Call Template:

Dim v As Variant
v = xf.Controls.GetPageControlDescriptions(f)

See Also:

Example 1:

Dim ControlDescriptions() as string
ControlDescriptions = GetPageControlDescriptions(Me)
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd