#name error text box

A

Alan

=DSum("[Amount]","[Billings Database Hard]","[Customer No] = '" & [cbCusNum]
& "' AND [Posting Period Date] = '" & [Me].[cbPostingDate].[Column](0) & "'")

Keeps returning #Name error

PLEASE HELP
 
R

Rose B

You need to format the date field...... try

Format(CDate(Me.cbPostingDate), "\#mm\/dd\/yyyy\#")

You shouldn't need the column as 0 is the default. Probably don't need the
single quotes around AND [Posting Period Date] = either
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top