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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

dsum



 
 
Thread Tools Display Modes
  #1  
Old April 6th, 2008, 10:41 AM posted to microsoft.public.access.tablesdbdesign
binny
external usenet poster
 
Posts: 20
Default dsum

I'm using Dsum in a control on a form to total records in a table. It's
working but not until I close the form and reopen it.
What am I missing?
the Dsum is in the control source should it be in the update event?
--
binny
  #2  
Old April 6th, 2008, 02:35 PM posted to microsoft.public.access.tablesdbdesign
Al Campagna[_2_]
external usenet poster
 
Posts: 1,462
Default dsum

Binny,
Your DSum probably relies on a value that you eneter into the record.
Until the record has been updated to the table, the calculation doesn't have
the values to operate upon.
When all the elements of the calculation are entered, do a Refresh...
and the calculation should work.
By closing and reopening the form you are forcing an Update. The
Refresh will accomplish the same thing.
--
hth
Al Campagna
Microsoft Access MVP
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love... and you'll never work a day in your life."

"binny" wrote in message
...
I'm using Dsum in a control on a form to total records in a table. It's
working but not until I close the form and reopen it.
What am I missing?
the Dsum is in the control source should it be in the update event?
--
binny




  #3  
Old April 6th, 2008, 10:18 PM posted to microsoft.public.access.tablesdbdesign
binny
external usenet poster
 
Posts: 20
Default dsum

thanks Al about a hour of head scratching brought me to the same conclusion I
labled the refesh control button "calulate total" and evey thing now looks
and works fine.
--
binny


"Al Campagna" wrote:

Binny,
Your DSum probably relies on a value that you eneter into the record.
Until the record has been updated to the table, the calculation doesn't have
the values to operate upon.
When all the elements of the calculation are entered, do a Refresh...
and the calculation should work.
By closing and reopening the form you are forcing an Update. The
Refresh will accomplish the same thing.
--
hth
Al Campagna
Microsoft Access MVP
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love... and you'll never work a day in your life."

"binny" wrote in message
...
I'm using Dsum in a control on a form to total records in a table. It's
working but not until I close the form and reopen it.
What am I missing?
the Dsum is in the control source should it be in the update event?
--
binny





 




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 08:42 PM.


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