B
BruceM via AccessMonster.com
Try removing the square brackets from around Me.
If still no success, simplify the expression:
=DSum("Amount","Table1")
If that works, try adding a single criteria:
=DSum("Amount","Table1","[Customer No] = ' " & Me.[cboCustomerNumber] & " ' ")
Keep keep building one element at a time until you find what is causing the
problem.
If still no success, simplify the expression:
=DSum("Amount","Table1")
If that works, try adding a single criteria:
=DSum("Amount","Table1","[Customer No] = ' " & Me.[cboCustomerNumber] & " ' ")
Keep keep building one element at a time until you find what is causing the
problem.
Well this morning i tired a new table completely
had three fields
Customer No as a text
Posting Date Period as a date/time
Amount as a number
two combo boxes
cbocustomerNumber
cboPostingDate
textbox
Tired this
=DSum("Amount","Table1","[Customer No] = '" & [Me].[cboCustomerNumber] & "'
And Format([Posting Date
Period],'yyyymm') = '" & Format([Me].[cboPostingDate],"yyyymm") & "'")
and still got name, now i know that all the field are spelt correcly and in
the right format
[quoted text clipped - 5 lines]calculated textbox doesn't have the same name as any field in your form's
recordsource.