N
NathanDW
I have an invoice form which allows me to select the types of billing I need
for a particular invoice; example: I have four "optional sections": Items
billed by hour, items billed by quote, itemized expences, and misc. I can
select 1, none, all, etc. of these and enter several lines of values useing
repeating tables. Each optional section has a total. At the bottom of my
invoice form there is a text box which value is a function that adds the
totals from each optional section. If all the sections are not active or
created then the value returned is "NAN". I am assuming that unless you
"insert" a section the objects associated with that section are not created
so when the function tries to add the totals it cannot find them and the
function fails. What I think I need is a functions that tests to see if the
desired Section/section total exsists and then adds it to the total if it
does. I have used VBA for word and excel but can't figure it out for
infoPath.
Please Help,
Nathan Winder
for a particular invoice; example: I have four "optional sections": Items
billed by hour, items billed by quote, itemized expences, and misc. I can
select 1, none, all, etc. of these and enter several lines of values useing
repeating tables. Each optional section has a total. At the bottom of my
invoice form there is a text box which value is a function that adds the
totals from each optional section. If all the sections are not active or
created then the value returned is "NAN". I am assuming that unless you
"insert" a section the objects associated with that section are not created
so when the function tries to add the totals it cannot find them and the
function fails. What I think I need is a functions that tests to see if the
desired Section/section total exsists and then adds it to the total if it
does. I have used VBA for word and excel but can't figure it out for
infoPath.
Please Help,
Nathan Winder