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  

Sorry for my insistence, but I would like help



 
 
Thread Tools Display Modes
  #21  
Old January 16th, 2005, 12:05 AM
an
external usenet poster
 
Posts: n/a
Default

Problem finally decided!

Regional settings, was changed.
For my Regional settings the separator is *;*

Thanks for all.
an

-----Original Message-----
On Fri, 14 Jan 2005 02:07:32 -0800, "an"
wrote:

The Control Source of the textbox txtCustoTotalEstimTroco
is the field named CustoTotalEstimTroco, exactly.

I understand your correction.
But already tried to use DSum expression with WHERE or
LIKE condition but I didn't obtained any result (?)

Can you help me in this sintaxe, please?
So, I would like DSUM (in MainForm *F_Percursos*) all
values of CustoEstimProj (in SubSubForm,
*SubSubF_Projectos*) WHERE IdPercurso is the same.


The DSum function takes three arguments: the (numeric)

field to be
summed; the name of the table containing that field; and

a string
containing a SQL WHERE clause selecting which values to

sum. Again,
data is NOT stored in forms, and data CANNOT be summed

from Forms:
only from Tables or Queries. So - GUESSING here, since I

cannot see
your database - something like

=DSum("[CustoEstimProj]", "some table name I don't

know",
"[IDPercurso] = " & [Forms]![F_Percursos]![IDPercurso])

John W. Vinson[MVP]

.

 




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 05:07 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.