CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: ?????

  1. #1
    Join Date
    Sep 2001
    Location
    South Dakota
    Posts
    20

    ?????

    I have two forms that won't work together. The following statement:
    ElseIF IsNumeric(strStatement) Then
    ValidSQL = strStatement

    Makes one work but not the other. If I put
    ElseIf IsNumeric(strStatement) = False Then
    ValidSQL = strStatement
    Then the second one works, but not the first. Stepping through both of them leads to to this line. Does anyone know how I can change this line to accept numeric and non numeric? I think that's what I need, but I'm not sure
    THANKS


  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: ?????

    maybe just

    Else
    ValidSQL = strStatement

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

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

Featured