A
Alan
I have this code in a text box
= dsum("[Amount]", "[July 09 - On Billings and Adjustments Data Query]",
"[Customer No] = " & [cboCustomerNumber] & " AND Format([Posting Date
Period], ""yyyymm"") = '" & Format([cboPostingDate], "yyyymm") & "'")
i keep getting #error in my text box
i'm struggling to find they answer to why
the query July 09 - On Billings and Adjustments Data Query
has fields of
customer Number
posting periood date
Amount
Now i have two combo boxes on my form which the text box should look up
Customer number and Name, are bound to another table
No (for customer Number)
Name ( for customer Name
Customer Listing Table
not linked to July 09 - On Billings and Adjustments Data Query
Is this what causing my error and how do i fix it
Thanks in advanced
= dsum("[Amount]", "[July 09 - On Billings and Adjustments Data Query]",
"[Customer No] = " & [cboCustomerNumber] & " AND Format([Posting Date
Period], ""yyyymm"") = '" & Format([cboPostingDate], "yyyymm") & "'")
i keep getting #error in my text box
i'm struggling to find they answer to why
the query July 09 - On Billings and Adjustments Data Query
has fields of
customer Number
posting periood date
Amount
Now i have two combo boxes on my form which the text box should look up
Customer number and Name, are bound to another table
No (for customer Number)
Name ( for customer Name
Customer Listing Table
not linked to July 09 - On Billings and Adjustments Data Query
Is this what causing my error and how do i fix it
Thanks in advanced