Calculation in Field

D

DBaxter

Is it possible to have a field do two things? I have
a "CycleLifeRemaining" field that I typically update
weekly with current data. On some items I would like to
have the field automatically calculate my figure so I
don't have to open the calculator, look up
the "CycleLifeNumber" and substract my "CurrentCyclesUsed"
and cut and paste the info. I tried =
LimitedCyclesRemaining Or «Expr» = [Cycle/Life List Table]!
[LimitedCycles] - [Cycle/Life List Table]!
[CurrentCyclesUsed] and when I go to my View form I
have "#Name?" in the field and cannot enter anything.
 
R

Rick Brandt

Is it possible to have a field do two things? I have
a "CycleLifeRemaining" field that I typically update
weekly with current data. On some items I would like to
have the field automatically calculate my figure so I
don't have to open the calculator, look up
the "CycleLifeNumber" and substract my "CurrentCyclesUsed"
and cut and paste the info. I tried =
LimitedCyclesRemaining Or «Expr» = [Cycle/Life List Table]!
[LimitedCycles] - [Cycle/Life List Table]!
[CurrentCyclesUsed] and when I go to my View form I
have "#Name?" in the field and cannot enter anything.

Access doesn't support calculations at the table level as it's improper database
design. Calculations belong in your Reports, Forms, and Queries. If you can design
a query that includes your expression then you can just substitute the query for all
places where you are currently using the table.
 

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

Top