I can see why this is failing, but a solution requires more info.
I take it that CapitalAtRisk (try not to use spaces in field names... if
you
do, they must always be bracketed) is in a table somewhere, and that
value
is not on the form?
Is it just a single constant value, or does your table contain many
CapitalAtRisk values?
If so, what is the relationship between the data on your form vs. the
correct CapitalAtRisk value you need from the table.
RealAmount amd SuggestedAmount are on the form, so you're "calling" them
properly. It's the CapitalAtRisk that is the problem. Please respond to
the above questions, and provide a description of CFX and CapitalAtRisk
and
how it realtes to your form and the values on the form.
--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions
The one tables name is cfx and contains a field called Capital at Risk.
The
other forms name is Promise to pay (which updates to the Promise to pay
table) with fields called RealAmount and SuggestedAmount contained
therein
and anyone of these may be zero and therefore I utilize the nz
function.
So
my formula that I entered looks like this.
=([cfx!Capital At Risk])-nz([RealAmount])+nz([SuggestedAmount])
Any suggestions on what cold be wrong. I checked the spelling and this
still
gives me the name error.
Thanks for the help thus far and I trust that this may be the key to
solving
this problem with the example formula supplied above.
--
Hangnail
:
The "Name" of one of the elements of your calculation does not exist,
or
most usually... is mispelled.
Given... = [Field1] + [Field2] + [Fild3] would cause a name error
because
of the spelling of the 3rd element.
Without your field names (exactly) and your calculation (exactly)
there's
no
way for us to tell for sure what's wrong.
--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions
I have a table containing values that are to be calculated against
payments
on a form. So therefore the payment value is to be deducted from
the
total
amount due in the table and then show the updated total on the form,
this
then consequently updates to a secondary table for referance and
query
purposes. However the calculation constantly leaves me with a NAME
error.
It
is very similar to cross spreadsheet calculations in Excel just now
using
forms. Please help!