Search Result

Collapse
2 results in 0.0014 seconds.
Keywords
Members
Tags
set focus
  •  

  • Joe Farage
    started a topic Set focus to a subform in a tab control

    Set focus to a subform in a tab control

    I've looked all over the internet and I couldn't find anything that helped me.

    I have a main form called: Patient Information
    On this form I have a subform called: [name_Age Qry_form]
    and a field in this form is: [Age]

    Also on this form is a Tab Control called: [TabCtl38]
    The First tab is called: [Contact Info]
    and on this tab is a subform called: [Contact Info_tab]
    and on this subform...
    See more | Go to post

  • gnawoncents
    started a topic How do I set the Focus to a Popup Dialog?

    How do I set the Focus to a Popup Dialog?

    Greetings,

    I have a datasheet, created through VBA, and I am trying to automate setting the column widths to Best Fit. Currently I loop through the controls using the code below

    Code:
        'Set width of columns to best fit data
        Dim ctl As Control
        For Each ctl In Forms![Form1].Controls
            If (ctl.ControlType = acTextBox) Then
                ctl.SetFocus
                Call TBBestFit
    ...
    See more | Go to post
Working...