A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Form does not update formulas



 
 
Thread Tools Display Modes
  #1  
Old April 7th, 2008, 03:53 PM posted to microsoft.public.access.forms
Patricia
external usenet poster
 
Posts: 147
Default Form does not update formulas

I have a form based on a query for data entry. When you use the query for
data entry all the calculations update as you enter. When you use the form
all the calculated fields just show error until you exit the form and go back
in. How can you make the form update the calculations as you go without have
to close and reopen?
  #2  
Old April 7th, 2008, 04:02 PM posted to microsoft.public.access.forms
Golfinray
external usenet poster
 
Posts: 1,597
Default Form does not update formulas

Try using a command button on the form for record save. Use the command
button wizard, find record save, enter your data and push the save button. It
should save immediately.

"Patricia" wrote:

I have a form based on a query for data entry. When you use the query for
data entry all the calculations update as you enter. When you use the form
all the calculated fields just show error until you exit the form and go back
in. How can you make the form update the calculations as you go without have
to close and reopen?

  #3  
Old April 7th, 2008, 04:04 PM posted to microsoft.public.access.forms
Klatuu
external usenet poster
 
Posts: 7,074
Default Form does not update formulas

You are making two mistakes.
First, you do not store calculated values in tables.
Second, you don't do the calculations in the query. The calculations should
be done in the form and you should store only the actual values.
Do the calculations when you need to present the values to a user eiter on a
form or on a report.

Other than the error of store calculated values, calculations in queries
should be used very judiciously. They will degrade performance. I once
converted a report that had a ton of calculations in the query that took
almost an hour to run. I put the calculations in the report and it ran in
about 2 minutes.
--
Dave Hargis, Microsoft Access MVP


"Patricia" wrote:

I have a form based on a query for data entry. When you use the query for
data entry all the calculations update as you enter. When you use the form
all the calculated fields just show error until you exit the form and go back
in. How can you make the form update the calculations as you go without have
to close and reopen?

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.