Subtracting fields in a table

S

Steve G

Hi,

I would like some help seting up the input mask for a
field in a table to do subtraction. I have a field that is
updated daily (call "MeterReading"), what I would like the
field with the subtraction format is to take the
difference of today's data with yesterday's data and
record it in the table. Is this possible??? Any assistance
to set this up would get great!

Thanks,
Steve
 
A

AJ Raiber

Steve,

Do you use a form for this input? Also are your
readings stored in the table with a date stamp?
 
T

Tim Ferguson

I would like some help seting up the input mask for a
field in a table to do subtraction. I have a field that is
updated daily (call "MeterReading"), what I would like the
field with the subtraction format is to take the
difference of today's data with yesterday's data and
record it in the table. Is this possible???

First of all: no it's not possible with an input mask. No chance.

Second: it would be possible to do this on a form with a simple unbound
textbox that would carry out the calculation for you.

Third: it is probably unnecessary if you have set up the tables right, as
you should be able to calculate balances in a query. It is certainly a bad
idea to have duplications of data like YesterdaysReading, TodaysReading,
and TodaysUse.

Hope that helps


Tim F
 

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