Avatar

Level 4

Update - I was using the field's exit event instead of calculate  (JavaScript) and now this code is entering the value of tPrjNo + - 4  Digit Year in the tPrjNo field instead of tVANo field. Getting closer,  you were right about the references not being right.  Now, hopefully it  is just the code that needs help.

var myVA = form1.sfrmMain.sfrmMainSub1.sfrmMain2.tbMainInfo.Row1.tVANo.rawValue;
var myYR = form1.sfrmMain.Year0.rawValue;
var myPrj = form1.sfrmMain.sfrmMainSub1.sfrmMain2.tbMainInfo.Row2.tPrjNo.rawValue;


myVA = myPrj.toString() + "-" + myYR.toString();