PC Review


Reply
Thread Tools Rate Thread

A calculation in a form

 
 
debt
Guest
Posts: n/a
 
      25th May 2010
The form I use to enter purchasing data calculates a total cost per order,
but it doesn't put this info into the data table. How do I get it to do this?
(All the other data from the form goes to the corresponding field in the
table)
 
Reply With Quote
 
 
 
 
golfinray
Guest
Posts: n/a
 
      25th May 2010
Unless there is some business reason, (like say for audit purposes) you never
store calcualtions. They just take up space and memory. Instead, maybe try
putting the calculations in a query and refernce the query from your form so
that every time you run the form it gives you fresh calculations.
--
Milton Purdy
ACCESS
State of Arkansas


"debt" wrote:

> The form I use to enter purchasing data calculates a total cost per order,
> but it doesn't put this info into the data table. How do I get it to do this?
> (All the other data from the form goes to the corresponding field in the
> table)

 
Reply With Quote
 
Weeble
Guest
Posts: n/a
 
      27th May 2010
As previously stated, ideally you wouldn't store calculated data, however if
you still feel you need to store this information it is pretty straight
forward:

Table.Field = Forms!<YourFormHere>!<FormControlHere>



"debt" wrote:

> The form I use to enter purchasing data calculates a total cost per order,
> but it doesn't put this info into the data table. How do I get it to do this?
> (All the other data from the form goes to the corresponding field in the
> table)

 
Reply With Quote
 
Daryl S
Guest
Posts: n/a
 
      27th May 2010
Debt -

For a form field (control) to get saved to the database, it must be bound to
a field in the database.

--
Daryl S


"debt" wrote:

> The form I use to enter purchasing data calculates a total cost per order,
> but it doesn't put this info into the data table. How do I get it to do this?
> (All the other data from the form goes to the corresponding field in the
> table)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show calculation from main form in sub form tboyce Microsoft Access Forms 2 27th Jan 2009 10:12 PM
Main Form Sub Form Has Data Calculation Cy Microsoft Access Forms 3 25th Dec 2007 11:56 PM
Re: SUM Calculation in Main Form from Sub-Form Lynn Trapp Microsoft Access Database Table Design 2 29th Dec 2006 02:05 PM
Form Txt Box Sum Calculation =?Utf-8?B?Qm9ycmlzaW1v?= Microsoft Access Forms 1 18th Oct 2005 05:52 PM
calculation from sub form on main form Valerie Microsoft Access Forms 1 8th Jan 2004 06:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:59 AM.