Results 1 to 5 of 5

Thread: Validation of values

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2003
    Posts
    72

    Validation of values

    Hi
    how can I validate a value entered in a text box is date,numeric etc.
    Thnx
    Nebu

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    IsDate()
    IsNumeric()

  3. #3
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    VB Code:
    1. Private Sub Command1_Click()
    2.     If IsNumeric(Text1.Text) Then MsgBox "number"
    3.     If IsDate(Text1.Text) Then MsgBox "date"
    4. End Sub
    -= a peet post =-

  4. #4
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    heeh morning frog
    -= a peet post =-

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Gud Morgen.

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