Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Status(CurrentPortalRow) problem?


This topic is 8644 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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