J
Joe M
Is it possible to compute, assign and total values in a query?
I'll make the example as easy as possible (my actual application is
different, but if I can see how to do this, I can adapt to my real data).
Suppose I had a table with just one field named "letter", which contained a
single digit letter of the alphabet. In a query I want to examine the value
of the "letter" field and create & compute a new field for the output of the
query and assign it a numerical value (1 to 26 corresponding to the value of
"letter"), and then do a running total on the numerical values I just created.
I'd like to get a query output like this:
letter computed value computed running total
a 1 1
z 26 27
b 2 29
c 3 32
Is this possible (without major difficulty)? Thanks much.
I'll make the example as easy as possible (my actual application is
different, but if I can see how to do this, I can adapt to my real data).
Suppose I had a table with just one field named "letter", which contained a
single digit letter of the alphabet. In a query I want to examine the value
of the "letter" field and create & compute a new field for the output of the
query and assign it a numerical value (1 to 26 corresponding to the value of
"letter"), and then do a running total on the numerical values I just created.
I'd like to get a query output like this:
letter computed value computed running total
a 1 1
z 26 27
b 2 29
c 3 32
Is this possible (without major difficulty)? Thanks much.