• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

Issue with Array

Experts, Can anyone tell me why this application will not start at item one? http://www-10.lotus.com/ldd/sandbox.nsf/ecc552f1ab6e46e4852568a90055c4cd/699460e28493bb98852568b30070bd5e?OpenDocument&Highlight=0,expense

So far it's the only bug I've found. I have modified it so that I will not be using the profile portion. I just need the item number count to work. There are some hide when issues as well but I can figure those out. It has all the functionality I need unless anyone knows where I can get something like this for FREE that has the same basic functionality
0
padillrr
Asked:
padillrr
1 Solution
 
mshogrenCommented:
Hi,

The dialog box for each expense type contains a hidden field called EditNum with the following formula:
temp := @Elements(@TextToNumber(Num)) + 1;
@If(@IsError(temp); 1; Action = "Edit"; EditNum; temp)

I beleive the correct results can be obtained by using this formula:
@If(Num = ""; 1; Action = "Edit"; EditNum; @Elements(Num) + 1)

Unfortunately you will have to reaplce the formula in the EditNum field on each of the expense forms.
0
 
padillrrProject CoordinatorAuthor Commented:
PERFECT!!!!! nothing less could be said! Thanks
0
 
Sjef BosmanGroupware ConsultantCommented:
Just a thought, Michael (or Ray): you could add a response to the Sandbox entry, to help other people downloading that software...
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now