Re: Update with calculation
From: Marin Kostov (fire_and_forget_at_noname.com)
Date: 04/30/04
- Next message: TC: "Re: datapagecomplete"
- Previous message: simeon: "calculate table size"
- Next in thread: Lynn Trapp: "Re: Update with calculation"
- Maybe reply: Lynn Trapp: "Re: Update with calculation"
- Maybe reply: Lynn Trapp: "Re: Update with calculation"
- Maybe reply: John Vinson: "Re: Update with calculation"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 30 Apr 2004 12:57:30 +0300
The calculations made on form or report are the best way of storing
Calculated data. No, you cannot store the calculated number in the table.
Why?
Just because one control can have only ONE record source. If your record
source is a Table or Query, that control will be Bound to that Table or
Query. And if your control is calculated (in run-time), the Record Source
will be something like:
=[Quantity] * [Price]
When you save the Report, the record source Property of the control (the
formula) is saved too. So the next time you will not need to re-write te
formula. It is allready there!
And another good reason for using calculated controls - thedata is NOT
stored in the Table - it will NOT use disk space. Just thing about:
You have 5000 records, and when you prefrorm calculations, the data is
stored in the table... It will GROW and loose perfomance...
-- Marin Kostov Microsoft Office XP Master Instructor
- Next message: TC: "Re: datapagecomplete"
- Previous message: simeon: "calculate table size"
- Next in thread: Lynn Trapp: "Re: Update with calculation"
- Maybe reply: Lynn Trapp: "Re: Update with calculation"
- Maybe reply: Lynn Trapp: "Re: Update with calculation"
- Maybe reply: John Vinson: "Re: Update with calculation"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|