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

Recommended Posts

Posted

I have a file with 100 records, each record is a scanned image of one page in a book.  So my layout shows single pages.  What can I do to show two pages of the book (left and right sides as an open book)? or in another word to be able to create a related table with 50 records in addition to the original one.

Posted

I want to see pairs of pages as in a book, i.e. the record {page 1, page2} {page3, page4} not {page 2, page 3}

Posted

You could solve this simply by having buttons that move 2 records forward or back. I believe that would still be simpler than adding the extra table with 50 records.

But if you want to go that way, it could work too. All you would need for this is a numbering system, so that each record in the parent table (numbered from 1 to 50) is related to 2 records in the Pages table (numbered from 1 to 100), via a calculation field (result is Text) =

Let (
pageNum1 = 2 * ( SerNum - 1 ) + 1
;
List ( pageNum1 ; pageNum1 + 1 )
)

where SerNum is the serial number field in the parent table.

--
P.S. Are you really still on version 11?  It would be easier to show you this in a demo file, but it's difficult for me to produce such file because my v.11 keeps crashing.

 

Posted (edited)

I don't know how to do that with my pages being scanned and stored in a container field.

I'm curious to know a simpler method (having buttons that move two records forward or backword

Thanks

 

Yes I'm still working with v11 pro on Windows 11 with no problems at all.

Edited by Dr.Hamed
Posted (edited)

Define a script with a single step:

Go to Record/Request/Page [ With dialog: Off; Get ( RecordNumber ) + Get ( ScriptParameter ) ]

Make one button call this script with a parameter of 2, and the other -2.
 

Note that this requires you to start with a full found set and at record #1 (or at least at a record with an odd number). Perhaps you should make a startup script that does this.

 

Edited by comment

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.