Results 1 to 3 of 3
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    why no write in textbox (2000 sr -1)

    I have this code in textbox and it not work corect (naturally, :-)..
    My idea:
    If texbox24 or textbox25 are filled permit to write else exit sub, but not work! please corret me. Textvbox1 are filled in this case
    Tks.
    Private Sub TextBox28_Change()
    If TextBox1.Value = "" Then
    TextBox28.Text = ""
    Exit Sub
    Else
    If TextBox24.Text = "" Or TextBox25.Text = "" Then
    TextBox28.Text = ""
    Exit Sub
    Else
    TextBox28.Text = UCase(TextBox28.Text)
    Me.Label71.Caption = "CARATTERI DIPONIBILI " & Format((256 - Len(Me.TextBox28.Text)), "#000") & "/256"
    End If
    End If
    End Sub

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: why no write in textbox (2000 sr -1)

    Change Or to And.

  3. #3
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: why no write in textbox (2000 sr -1)

    <img src=/S/artist.gif border=0 alt=artist width=34 height=29> perfect work fine, i am stupid!

Posting Permissions

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