- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Thank you, yes, it helps alot. I sure did get FormCalc and JavaScript mixed up. Checked out the link and renamed subforms. I had ended up adding them on the fly as my floating text field was greyed out and it was the only way I could find to get things to layout on the page the way I needed, and need to learn to name them. I'm not understanding the JavaScript Console part, when I press ctrl/J, nothing happens, so not sure where I should be or how to accomplish this. I agree my referencing is probably wrong. I got the 'address' by clicking into the field(s) and copy/pasting the address listed at the top, but that might not be the right way to go. Below revised is still not working - I thought myVA = myPrj.toString() + "-" + myYR.toString(); would have been how to tell the tVANo field to be that value when it happened on the exit event of tPrjNo. Am used to Access, where I can just say me.fielda = me.fieldb or whatever value, so I need to learn how to do same in JavaScript. What is the right way to tell the tVANo to be whatever they enter in the tPrjNo field PLUS the current year in 4 digit format. Thank you very much, Cathy
var myVA = form1.sfrmMain.sfrmMainSub1.sfrmMain2.tbMainInfo.Row1.tVANo.rawValue;
var myYR = form1.#pageSet[0].Page1.Year0.rawValue;
var myPrj = this.rawValue;
myVA = myPrj.toString() + "-" + myYR.toString();
Views
Replies
Total Likes