nox Posted November 17, 2010 Posted November 17, 2010 I'm trying to use this calculation to find out if we are on the last record in found set or not. But somehow it doesn't work. I can't figure out why. The field is dynamically generated so it can be reused on other tables. Let( $field = Get ( LayoutTableName ) & "::ID"; If ( GetNthRecord ( $field; Get ( RecordNumber ) + 1) = "?"; 1;0) ) Thanks in advance for your help!
Raybaudi Posted November 17, 2010 Posted November 17, 2010 Try with this calculation ( the $field isn't needed if the field name is always "ID" ) not IsValid ( GetNthRecord ( ID ; Get ( RecordNumber ) + 1 ) )
Raybaudi Posted November 17, 2010 Posted November 17, 2010 Of course ( I was intrigued by its search for "?" ) BTW: each calculation must be unstored.
nox Posted November 18, 2010 Author Posted November 18, 2010 Ah that was so easy! Doh! Thank you both guys!
Recommended Posts
This topic is 5120 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