Joined: 08 Aug 2012
Online Status: Offline
Posts: 36
Topic: Array Ubound Posted: 21 Aug 2012 at 10:25am
I can not for the life of me figure out why this wont work?
global numbervar array CaseIDDblChk;
if {Applicant1.ApplicantCaseId} in CaseIDDblChk then
True
else
numberVar x =toNumber(count(CaseIDDblChk)) + 1;
Redim preserve CaseIDDblChk[x];
CaseIDDblChk[x]:={Applicant1.ApplicantCaseId};
False;
debugging info:
it sees:
var: CaseIDDblChk: [0,0]
var x: 0
im getting an error when it is trying to redim the array because x is reading as 0?
Joined: 08 Aug 2012
Online Status: Offline
Posts: 36
Posted: 22 Aug 2012 at 3:10am
THANK YOU!!!
Sorry i over looked the (). To be honest i really thought i tried that, it must have been the () and the := not tried at same time. Thanks for fast responses and the clarification on the = vs. :=
Love this forum, hopefully soon ill be able to help answer questions ha.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum