User Profile

Collapse

Profile Sidebar

Collapse
jhoiland
jhoiland
Last Activity: Sep 10 '10, 07:44 PM
Joined: Sep 9 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jhoiland
    replied to Query expression IIF vs VBA code
    does this execute all conditions on down the line regardless?

    IIF (condition, true, false) The first one would be true for an item less than $30 and under 1 lb...so would the MAP test under the false condition even be executed?

    I saw some other examples using SELECT CASE statements that look like more traditional code to me, but I am still not sure how I would incorporate this code into a query result.
    ...
    See more | Go to post

    Leave a comment:


  • jhoiland
    started a topic Query expression IIF vs VBA code

    Query expression IIF vs VBA code

    Hello,

    I am writing some pricing optimizations for an online store. What I am trying to do is adjust the sale price based upon a combination of 3 factors...cost, weight, min advertised price (MAP).

    I know I could code this in VB/ASP for web...not sure how to do it in an access query. Looking around here it looks as if I might be able to do it through a complex nesting of IIF statements too, but those would look messy....
    See more | Go to post
    Last edited by Frinavale; Sep 9 '10, 07:27 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags (and indentation to code)
No activity results to display
Show More
Working...