As a note, I found an alternative which worked - omitting the previous record after saving to PDF instead of using gotonextrecord step. Then I just exit loop if foundcount = 0
Which option are you selecting with your PDF?
Current Record or Records being Browsed?
Current record. I can't choose records being browsed because each record has needs different layout.
Thank you for your posts.
From your description, I have been unable to replicate the problem. This is what I have done:
1. I created a table with four text fields:
2. I entered four records with information in every field.
3. I created four layouts, The first with one field, the second with two fields, the third with three fields, and the fourth with all four fields.
4. I created a crude script as follows:
Go to Record/Request Page [ First ]
If [ Get ( RecordNumber ) = 1 ]
Go to Layout [ "one" ]
Else If [ Get ( RecordNumber ) = 2 ]
Go to Layout [ "two" ]
Else If [ Get ( RecordNumber ) = 3 ]
Go to Layout [ "three" ]
Go to Layout [ "four" ]
Save Records As PDF [ Restore ; Append ; No dialog ; "test.pdf" ; Current record ]
Go to Record/Request/Page [ Next ; Exit after last ]
My PDF file shows the first record with one field on the first page, the second record with two fields on the second page, the third record with three fields on the third page, and the fourth record with four fields on the fourth (and last) page.
Please let me know what I'm doing differently than you, and I'll try to replicate the problem here.
TSGal, the bug stopped when I upgraded to 10.0