Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / December 2005

Tip: Looking for answers? Try searching our database.

Calculations in my Form are not written back to the original table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jay - 28 Dec 2005 16:17 GMT
Hi

I have a table which contains all the fileds in the database.

I have a form which is used for data entry.

On this form I have fields (which exist in the original Table) where
calculations and their results are correctly displayed.

Unfortunately the calculated fields do not populate their corresponding
fields in the original table.
This makes queries and reports run against the table meaningless.

How can I resolve this ?

Thanks

Jay
Douglas J. Steele - 28 Dec 2005 16:24 GMT
As fellow Access MVP John Vinson likes to say "Storing calculated data
generally accomplishes only three things: it wastes disk space, it wastes
time (a disk fetch is much slower than almost any reasonable calculation),
and it risks data validity, since once it's stored in a table either the
Total or one of the fields that goes into the total may be changed, making
the value WRONG."

Put the calculations in a query, and use the query wherever you would
otherwise have used the table.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> Hi
>
[quoted text clipped - 14 lines]
>
> Jay
gls858 - 28 Dec 2005 16:25 GMT
> Hi
>
[quoted text clipped - 14 lines]
>
> Jay

Calculated values should never be stored in a table. Add the calculation
to the query or the report using an expression. Check the link below for
some examples.
http://office.microsoft.com/en-us/assistance/HA011814491033.aspx

gls858
Jay - 29 Dec 2005 11:04 GMT
Hi Guys

Thanks.

Shall try the calcs in the query and will value the URL sent

Jay

> > Hi
> >
[quoted text clipped - 21 lines]
>
> gls858
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.