Results 1 to 6 of 6

Thread: Collections problem - Resolved!!!

Threaded View

  1. #1

    Thread Starter
    Fanatic Member rudvs2's Avatar
    Join Date
    Mar 2001
    Location
    NZ
    Posts
    935

    Collections problem - Resolved!!!

    hi all I cant quite figure out what i have done wrong with the following code............... anybody who can point out where i have messed up would be appreciated

    VB Code:
    1. Private Sub clrTxtBoxes()
    2. Dim frm As Form
    3. Dim ctl As TextBox
    4.    
    5.     Set frm = Form1
    6.    
    7.     For Each ctl In frm
    8.         ctl.Text = ""
    9.     Next ctl
    10.  
    11. End Sub

    Thanks in advance
    Last edited by rudvs2; Oct 16th, 2001 at 08:30 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width