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

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

Recommended Posts

Posted

I have a script that is triggered by a button in a portal row- The script acts on the data in that row. A problem arises when a field in another portal row is already selected ( the script acts on that portal data). All works fine if no fields are selected.

any ideas thanks?

Version: v6.x

Platform: Mac OS X Panther

Posted

I would use Go To Related Record and then call a script in the related file to act on the data in that record and then return to the current file.

Posted

"A problem arises when a field in another portal row is already selected ( the script acts on that portal data)."

I'm surprised it does that... I've never seen it happen. I'll do some testing.

Try this: get the script to insert the portal row number into a global field (it should insert the number of the row the button in on) and use the Got to Portal Row step to select the portal row, then do the rest of the stuff.

Posted

I thought of something else this morning which might be helpful if the problem still persists: get the script to check if it is in a field (perhaps IsEmpty( Get (ActiveFieldName)=0 might do the job) and only let the script run if the cursor is not in a field.

Posted

Vaughan said:

Try this: get the script to insert the portal row number into a global field (it should insert the number of the row the button in on) and use the Got to Portal Row step to select the portal row, then do the rest of the stuff.

for info that worked thanks

Version: v6.x

Platform: Mac OS X Panther

This topic is 7557 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.