D
Donna
trying to sum two fields but one field is empty. It is
not Null it contains No Value. How can I set this field
equal to Null?
not Null it contains No Value. How can I set this field
equal to Null?
Donna said:trying to sum two fields but one field is empty. It is
not Null it contains No Value. How can I set this field
equal to Null?
-----Original Message-----
What does that mean, "it contains No Value"? Do you mean it's a text
field and contains the string "No Value"? Are you talking about fields
in a table, or controls on a form? If they are fields, what are their
data types? If they are controls, are they bound controls, and if so,
what are the data types of the fields to which they are bound?
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)
Donna said:the controls are in a form. the one that I am having
problems with is summing a bound control in the detail
section, but that table is empty(sometimes needs to be
empty).
frmTest.amounts
(this is in the detail section of the form)
frmTest.PaymentAmounts =Sum(frmTest.amounts)
this is the one that has no value.
in a second form-the table for this form is never empty.
frmInv.amounts
(this is in the detail section of the form)
frmInv.ttlInvAmounts =Sum(frmInv.amounts)
in a third form control (text box) I am trying to find the
balance.
frmInv.ttlInvAmounts - frmTest.PaymentAmounts
all of the controls and table fields are set to currency.