Newbies lilmomma1031 Posted May 1, 2002 Newbies Posted May 1, 2002 I was wondering if anyone knows how to compare data within a portal. For example, I need to compare a numeric figure from the most current row in the portal to the previous row. If the number increases I need to prompt the user with a message. Any input would be greatly appreciated. Thanks!!
Vaughan Posted May 1, 2002 Posted May 1, 2002 Previous row is a deceptive term since it depends upon the sort order of the relationship. I suppose a script could be made that goes to the current related record (show only related records) then sorts appropriately, goes to the previous record and does the check. It'd have to be scripted because I don't know of a calculation that will do the job. Other people may know!
IdealData Posted May 1, 2002 Posted May 1, 2002 Probably best with a script. Set a global to the value of the current portal item, step back a row, and compare the now current portal row item with the global - decide from there.
Recommended Posts
This topic is 8298 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