Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003

    Unanswered: Create text box array

    I have to create text box array, and i don't qite remember how to go about it
    right now i am just trying to create textbox via code, and can't find anthing on it...

    Private Sub Command6_Click()
    Dim x As Control
    Dim y As TextBox

    Set y = New TextBox
    y.Width = 1
    y.Height = 0.5
    y.Left = 1
    y.Top = 0.6

    y.Visible = True
    End Sub

  2. #2
    Join Date
    Oct 2003
    Provided Answers: 1


    In Acce$$ VBA there is no Array of TextBox, only under VB5 or VB6

    If you want to create a Control on a form during the run time just use CreateControl. Have a look to this statement in Acce$$ help, there is a nice example.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts