Conditional calculations

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Ed, Duane or anyone who can help me again

I studied access all weekend and realized just how similar it is to main
frame report writing. I know how to write conditional statements, I just
could not figure out where in Access. For example, I want to define a field
called "loacnt" and I want to add 1 to it whenever the field "status"= LOA, I
want "loacnt" = 0 when the department number changes in the grouping I've
defined. Please help.
 
Again. if I understand you correctly:
create an unbound control in the group band that applies (dept#)
set it's source to " =IIF(Me!status='LOA', 1) "
and set the running sum property to "Over Group"

Now you should get an incrementing number whenever [status]=LOA, and that
numbering should reset for each dept#.
-Ed
 
Thanks again Ed, it's a transition, but I'm getting it together
--
vickilynn


Ed Robichaud said:
Again. if I understand you correctly:
create an unbound control in the group band that applies (dept#)
set it's source to " =IIF(Me!status='LOA', 1) "
and set the running sum property to "Over Group"

Now you should get an incrementing number whenever [status]=LOA, and that
numbering should reset for each dept#.
-Ed

Vicki Leatherberry said:
Hi Ed, Duane or anyone who can help me again

I studied access all weekend and realized just how similar it is to main
frame report writing. I know how to write conditional statements, I just
could not figure out where in Access. For example, I want to define a
field
called "loacnt" and I want to add 1 to it whenever the field "status"=
LOA, I
want "loacnt" = 0 when the department number changes in the grouping I've
defined. Please help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

iff statement did not work 3
Trouble pulling most current record 1
if statement with two conditions 0
IF, AND & OR 3
Access SQL 3
Enter Parameter Value in Access Form 0
Calculations 4
Conditional Calculated Field 0

Back
Top