L
Lorenzo
Hello I am struggling with a simple task that is complicating my morning. I
have a simple start up form where I want to add few textBoxes that sip data
from my tables to get some totals. I have the following unbound text box
that I would like to fill for example with the total of the invoices:
I am pointing the source of this control from the property settings to, for
example: DSum("[tblFatture]![dblImporto]", "tblFatture", <<additional
criterias here>>)
This isn't working and I ahve also tried via VBA like this:
Private Sub Form_Load()
Me.txtTotaleFatturato.Text = DSum("[tblFatture]![dblImporto]", "tblFatture")
End Sub
Not working, what am I doing wrong?
Lorenzo
have a simple start up form where I want to add few textBoxes that sip data
from my tables to get some totals. I have the following unbound text box
that I would like to fill for example with the total of the invoices:
I am pointing the source of this control from the property settings to, for
example: DSum("[tblFatture]![dblImporto]", "tblFatture", <<additional
criterias here>>)
This isn't working and I ahve also tried via VBA like this:
Private Sub Form_Load()
Me.txtTotaleFatturato.Text = DSum("[tblFatture]![dblImporto]", "tblFatture")
End Sub
Not working, what am I doing wrong?
Lorenzo