rlinsurf Posted November 20, 2000 Posted November 20, 2000 Does anyone know how to number rows in a Portal? Thanks! Jeffrey Ellis
Chuck Posted November 20, 2000 Posted November 20, 2000 It wouldn't be too hard with a script. You could use something like this: Set Field [ gPortal_Number, 1 ] Go to Portal Row [ First ] Loop Set Field [ Portal_Number, gPortal_Number ] Set Field [ gPortal_Number, gPortal_Number + 1 ] Go to Portal Row [ Next Exit After Last ] End Loop If you have your portal allow the creation of related records by typing in a blank portal, you will probably want to add a line to the script just before the End Loop: Exit Loop If [ IsEmpty( File::Record_ID ) ] Where Record_ID is a field in the related file that would definately have an entry if there is a record for that portal row. Otherwise, you'll end up creating related records into infinity. Chuck
Vaughan Posted November 27, 2000 Posted November 27, 2000 I've done similar things with summary fields (set as running count). This makes them dynamic and they don't need a script to generate.
Recommended Posts
This topic is 9014 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