Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jun 2005
    Location
    Atlanta, Georgia, USA
    Posts
    208
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Case when substitute (2003)

    Hello,

    I am trying to emulate what a friend has done with SQL and use a subquery with a case when statement. Will access allow this? I don't think a iif statement will work but will something else work?

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

    Re: Case when substitute (2003)

    Jet SQL doesn't have a Case statement. You may be able to use the VBA functions Switch or Choose; they can be used in expressions in queries. Type either of these keywords in the Visual Basic Editor and press F1 to get help.

  3. #3
    2 Star Lounger
    Join Date
    Jun 2005
    Location
    Atlanta, Georgia, USA
    Posts
    208
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Case when substitute (2003)

    thanks I will try that.

Posting Permissions

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