G
Guest
I have a continuous form that is bound to tblClient. For each Client listed I
need to be able to make changes to Client data and see a total of Invoice
Hours, Invoice Amount and Invoice count for the client. tblInvoice is owned
by tblClient and known by InvoiceID. I have tried a query over tblClient with
subqueries over tblInvoice, which works fine except I can't make changes to
the Client Name and Address.
I have tried Dsum as follows, but can't get it to work.
Private Sub Form_Current()
Me.Hrs = DSum ("InvoiceHours", "tblInvoice", "InvoiceClientID = " &
[Me.ClientID])
End Sub
What am I missing?
need to be able to make changes to Client data and see a total of Invoice
Hours, Invoice Amount and Invoice count for the client. tblInvoice is owned
by tblClient and known by InvoiceID. I have tried a query over tblClient with
subqueries over tblInvoice, which works fine except I can't make changes to
the Client Name and Address.
I have tried Dsum as follows, but can't get it to work.
Private Sub Form_Current()
Me.Hrs = DSum ("InvoiceHours", "tblInvoice", "InvoiceClientID = " &
[Me.ClientID])
End Sub
What am I missing?