Results 1 to 8 of 8

Thread: Resolved:Wheres Waldo (or the problem :p)

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2005
    Posts
    29

    Resolved Resolved:Wheres Waldo (or the problem :p)

    VB Code:
    1. If ComboInLabel.Caption = "Centimeters (Cm)" Or "Meters (M)" Or "Kilometers (Km)" Then
    2. CompatabilityInType = "Length"
    3. End If

    Im getting a type mismatch error, im guessing that IF cannot handle 'or' with strings? only numbers?

    thanks in advance
    Last edited by d22k; Apr 11th, 2005 at 10:54 AM.

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