J
Jon M.
Hi potential lifesavers, I am trying to do an update query using an if
statement and unfortunately I do not know as much about them as I had
thought. I have a field named Fraud, which is a check box. Based on whether
Fraud is true or false I want one of two fields to be updated. The update
occurring is a substraction from a class credits field. Basically this:
CreditsNeeded FraudNeeded Fraud(Checkbox) Class Credits
5 2 True
2
In this case my fraudneeded would be updated and now equal 0
If Fraud were False, then Creditsneeded would be updated and now equal 3. I
can't get my IIf statement to work in the criteria, and I tried putting Fraud
in the query twice but it won't run with the duplicate field. As always I
appreciate any help I can get.
statement and unfortunately I do not know as much about them as I had
thought. I have a field named Fraud, which is a check box. Based on whether
Fraud is true or false I want one of two fields to be updated. The update
occurring is a substraction from a class credits field. Basically this:
CreditsNeeded FraudNeeded Fraud(Checkbox) Class Credits
5 2 True
2
In this case my fraudneeded would be updated and now equal 0
If Fraud were False, then Creditsneeded would be updated and now equal 3. I
can't get my IIf statement to work in the criteria, and I tried putting Fraud
in the query twice but it won't run with the duplicate field. As always I
appreciate any help I can get.