Joseph31 Posted May 20, 2004 Posted May 20, 2004 I have A simple Portal... Two Fields Years and Amount All I need is a script or a calcuation that can add 1 to the number in the above row... Meaning when someone types in the first row the first column will be 1 and they fill in the amount when they go to the second line the year automatically says 2 they fill in amount... I can not use the "@@" text b/c I want to do a look up later... Does anyone know how to do this...or am I doing it all wrong? Thanks Joseph
The Shadow Posted May 21, 2004 Posted May 21, 2004 Get( PortalRowNumber ) will give the current number, if you use that as an auto-enter value you'll get the number as soon as they leave the first field they type a value into.
Joseph31 Posted May 21, 2004 Author Posted May 21, 2004 Great...I am assuming that in will count inorder.. When I do this Get (PortalRowNumber)...all I see are 0 in the row thanks for the help.. Joseph
The Shadow Posted May 21, 2004 Posted May 21, 2004 Weird - I see the same (0) if I define that as a normal calculation. What does work is when it is an auto-enter calculation, and you're creating rows via the portal, then it fills them in properly.
Joseph31 Posted May 21, 2004 Author Posted May 21, 2004 Ok...great agin...Let me try it..b/c that is what I am doing..from a portal that is...
Joseph31 Posted May 21, 2004 Author Posted May 21, 2004 Ok...that works....But it seems to be starting at 2 not 1....why ? Joseph
Recommended Posts
This topic is 7560 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now