Access 2007: Change the value in a table field based on the value in another field in same table

Posted on 2011-04-28
Medium Priority
Last Modified: 2012-05-11
Hello, I have a database which I am attaching to this question.  The form frmDecision tree is designed to be a series of check boxes that the user will work with and then a final decision will be generated based on the user's input.  One of the great experts here helped me with this part already and I have a field called New Reviewed Item in qryDecisionTree which is coded -1 for true or 0 for false.  I want the field [Reviewed Item] to be coded INC for all values -1 in [New Reviewed Item] and EXC when 0 in that same field.  Could anyone please show me how to do this?
Question by:Bevos
LVL 40

Expert Comment

ID: 35493280
I think this question was answered. You can close it without assigning points.
LVL 31

Accepted Solution

hnasr earned 2000 total points
ID: 35494671
Reviewed Item: IIf(([PPopulation] And [DDesign1] And [O1Outcome1]) Or ([PPopulation] And NOT([DDesign1])) And [D2Design2] And [O2Outcome2] And [SP_YN]) Or ([PPopulation] And not([DDesign1]) And [D2Design2] And [O2Outcome2] And not([SP_YN]) And [NTotal]>=100),'INC','EXC')

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Question has a verified solution.

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

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

807 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