Gogargirl Posted March 24, 2001 Posted March 24, 2001 Hi there, I have created a calculation (number) field called Row Number. The calc is Status(CurrentPortalRow). I thought that if the cursor was in, say, the third row of a portal on the layout, Row Number would show 3. If I clicked on the the fifth row, it would show 5 etc. Whatever I do, it shows 0. What am I doing wrong please?
LiveOak Posted March 24, 2001 Posted March 24, 2001 The row number doesn't update correctly when it is used a part of a calculation field. Status (CurrenPortalRow) is intended to be used in a script. You can simulate what you want by creating a global number field (gPortalRow) and setting it with a script every time you click into a field of a portal row. The script would look like: Set Field (gPortalRow, Status (CurrentPortalRow)) Go to field (portal field for this button, Rel::field) You will need one script for each field in the portal, each with a different field in Go to field(). Attach the scripts to their respective fields. -bd
Recommended Posts
This topic is 8644 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