Gary Weisbrodt Posted September 1, 2004 Posted September 1, 2004 Please explain how one gets and uses the portal row number. I have tried: field "Row Number" type number with auto enter calculated entry Get ( PortalRowNumber ) result returns numbers incrimented by one but the first row which should be one is some other number and field "Portal Row Global" type number with auto enter calculated entry Get ( PortalRowNumber ) result returns the number 2 for every row.
-Queue- Posted September 1, 2004 Posted September 1, 2004 There seems to be a bug with it, so you should be using it in a script, not a calculation.
Gary Weisbrodt Posted September 1, 2004 Author Posted September 1, 2004 But, I heard that calculations were better for IWP purposes.
-Queue- Posted September 1, 2004 Posted September 1, 2004 Probably so, but this is one of the Get functions that seems to only work correctly in a script.
Ugo DI LUCA Posted September 1, 2004 Posted September 1, 2004 Well, You may modify the calc to : 1+Case(Get ( PortalRowNumber );Get ( PortalRowNumber )-1;0) or something alike I'd think
-Queue- Posted September 1, 2004 Posted September 1, 2004 From what I recall, it displays 0 when in the last portal row also, unless they've fixed that with v2.
Ugo DI LUCA Posted September 1, 2004 Posted September 1, 2004 Hi, Just tried it, AFTER suggesting. Workee so far. They may have fixed it, or I can't see the last row bug right now.
Gary Weisbrodt Posted September 1, 2004 Author Posted September 1, 2004 ok, I tried 1+Case(Get ( PortalRowNumber );Get ( PortalRowNumber )-1;0) as a calculated value in my Portal row Glogal field and it only returns the value of one in every portal row.
ĸupiэȶƺ Posted September 24, 2004 Posted September 24, 2004 ok, I tried 1+Case(Get ( PortalRowNumber );Get ( PortalRowNumber )-1;0) as a calculated value in my Portal row Glogal field and it only returns the value of one in every portal row. Auto-enter calculations are only recalculated when a field they contain is updated. Because you do not use any fields in this calculation, it is never recalculated. Try using an unstored calculation field instead. Or put a button in you portal row that inserts a value in a dummy field to trigger the recalc. IE...: Use "if(dummy field=dummy field,0,0)+1+Case(Get ( PortalRowNumber );Get ( PortalRowNumber )-1;0) Then every time Dummy Field changes, the auto-enter calcualtion will be recalculated.
Recommended Posts
This topic is 7366 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