Results 1 to 3 of 3

Thread: Syntax (A2k)

  1. #1
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Syntax (A2k)

    Just having a brain block with a select case calculation.



    Select Case me.txtHrs

    Case is < 15
    'Do something
    Case is [Between 15 & 30] <<<<<<<<<<<<< Struggling with this syntax !!
    'Do Something
    Case is > 30
    'Do something
    End Select

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

    Re: Syntax (A2k)

    Hi Dave,

    You can use

    Case 15 To 30

  3. #3
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Syntax (A2k)

    So simple !!

    Thanks Hans

Posting Permissions

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