Jump to content
Sign in to follow this  
Gogargirl

Status(CurrentPortalRow) problem?

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.