MS Access Expr1 if then help?

Posted on 2003-03-08
Medium Priority
Last Modified: 2008-02-26
in basic it would look like this

if A = 0 then B else B/A
what would I do to get this to work in access I have try everything I can think of? please help
I got it
CPTW: (IIf([numberof]=0,[Purchase Price],[Purchase Price]/[numberof]))
do not answer this question
Question by:kewitt
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment

Accepted Solution

SpideyMod earned 0 total points
ID: 8094970
PAQ'd and points refunded.  Answer is in the question text.

In the future, if you answer your own question, please post it as a comment rather than edit the title.  Thanks.

Community Support Moderator @Experts Exchange

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question