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

New Portal Row at the Top


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

Recommended Posts

Posted

Dear Professionals,

New row for entering portal data is defaulted to be at the very bottom of the list.

Is there a way to keep it at the very top?

Posted (edited)

This is the way that portals behave for data entry, however, depending on the sorting for the relationship or the portal the new record will finally display in the correct place.

A technique to maintain data entry at the top of the portal is to have a "parallel" set of GLOBAL fields above the portal and use a script to write the new record (in the related table) once the globals have been entered. Use a button to fire the script.

Edited by Guest
Posted

So you mean to place the global fields above the portal frame and make it look as if it's the empty top most portal row.

Enter data in the global fields then script to set the actual empty fields in the portal?

In this case, is there a way to not show that empty portal row at the bottom?

Posted

Yes.

You must change the relationship settings to NOT ALLOW CREATION via the relationship - then the empty bottom row will disappear.

Your script to write the new record must, therefore, go to another layout based on the target table of the relationship, and use the SET FIELD script command to write the fields, roughly like this..

Go To Layout (target table)

New record

Set field (first data field, using first global field)

Set field (second data field, using second global field)

.

.

Go to layout (original layout)

Global fields have a nice "property" about them - they are accessible from all tables without a relationship!

HTH

Posted

Hi IdealData,

Thanks so much for your help.

It's working fine and my staffs are all happy with it.

I can head home now...

Thanks again!

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