Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

beardjeff
beardjeff
Offline

Badges

Badges
5

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
9

Discussions

Discussions
2

Questions

Questions
7

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by beardjeff
Customize the badges you want to showcase on your profile
Re: If statement - Adobe LiveCycle 11-08-2010
Never mind.  Danged Endif was missing.

Views

178

Likes

0

Replies

0
If statement - Adobe LiveCycle 11-08-2010
Please have mercy on me and my headache!I'm tripping over my own feet at this point. All I'm trying to do is a simple if..then..else function and getting no where. Here's what I've put in:if(ProjectedADC>RehabBeds)then((RehabBeds-ADC)*400000)else((ProjectedADC-ADC)*400000)I've checked and I have FormCalc selected as the language, and the individual statements function without the if..then..else, but when I put them together, nada.This problem is probably staring me right in the face. The error I...

Views

579

Likes

0

Replies

2
Re: Accessor - Adobe LiveCycle 15-07-2010
Thank you!Moments before I received your solution I realized that in my test file they were all on the same page, but in the work file they were never on the same page --- but I had no idea how to resolve it or prove it was the source of the problem. I thought because the Global binding worked across pages that it shouldn't be an issue for other calling functions, but now I know. Thanks again.

Views

285

Likes

0

Replies

0
Re: Accessor - Adobe LiveCycle 15-07-2010
I've sent the file.  Thanks for checking it out.

Views

284

Likes

0

Replies

0
Re: Accessor - Adobe LiveCycle 15-07-2010
This is incredibly frustrating. Most of the discussions here are about situations much more complicated that what I'm dealing with. This isn't an attempt to link to another database, simply to concatenate lastname, firstname middle name. It functions perfectly in a new file that only contains those 3 fields, but the exact same script draws an accessor error when the script is attempted on the real form. All names and spellings have been verified and no duplicate fields with the same name have be...

Views

282

Likes

0

Replies

0
Accessor - Adobe LiveCycle 15-07-2010
I've beat this to death but can't resolve an "accessor" error I'm encountering when trying to concatenate names on the top of pages following the front page on a form. I've tested it in a separate file file where only the 3 fields and the concatenated field exist and it works perfectly, but when I copy the same script into the full file it respondes with the accessor error. I've verified the field name spelling, verified that there are no duplicates with the same field name and I've reduced it t...

Views

845

Likes

0

Replies

6
Re: FormCalc If Statement Help Needed - Adobe LiveCycle 15-07-2010
Can't help you with your primary question, but try using another If level to test for 0 to alleviate the overflow error.Something like:if (HHresp>0) then ......the rest of what you already have followed by another endif.The overflow is being created by your denominator being equal to 0/null before HHresp has been given a value.

Views

172

Likes

0

Replies

0
Re: Help: Divide by Zero Errors - Adobe LiveCycle 15-07-2010
Your error message indicates your script is being executed as FormCalc, not JavaScript.If you're using FormCalc try using an If statment to test for zero/null.if (tr>0) then (ac/tr)*100 endif

Views

269

Likes

0

Replies

0
Re: daft calculation question! - Adobe LiveCycle 15-07-2010
The error message is coming from your denominator being initially undefined until a value is posted to NumericField2.The way around it is (in FormCalc):if (NumericField2>0) then (NumericField7/NumericField2)*100 endifThis tells it to only execute the forumla when NumericField isn't 0 or null.

Views

113

Likes

0

Replies

0