Results 1 to 4 of 4

Thread: coding question

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2006
    Posts
    21

    coding question

    I cant figure out the syntax for this;

    If totalSalary >= 200.0 & <= 299.0

    What is the correct syntax for this type of statement? I was thinking you could use the ampersand for this but I guess not.


    Thanks.

  2. #2
    Hyperactive Member Grunt's Avatar
    Join Date
    Oct 2004
    Location
    Las Vegas
    Posts
    499

    Re: coding question

    If totalSalary >= 200.0 And totalSalary <= 299.0

  3. #3
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: coding question

    VB Code:
    1. If totalSalary >= 200D AndAlso totalSalary <= 299D

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Nov 2006
    Posts
    21

    Re: coding question

    Thanks guys.

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