Is this a record in the layout's found set or a record listed in a portal?
Are you printing from the layout that has this button or a different layout?
Yes it is. And the print script prints on another, related layout
Ummm, but I asked "is it A or B?" and you said "Yes" ?????
Sorry - I thought that i may not have been clear after I sent it - A...Thanks
So you have a found set of records, not a portal?
If your layout where they are thus listed and the layout from which you print the record are both based on the same table occurrence, (Both have the same name in Layout Setup | show records from ), then your button's script need only use go to layout and print with the "current Record" option selected.
The mouse click on the button will select the record and make it the current record. Since two layouts based on the same table occurrence share the same current record, found set, sort order..., that's all that should be needed here.
If that simple script is what you have and it's not working, I would suspect that the layout change in your script is tripping a script trigger for a script that is changing the current record.