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

This topic is 6662 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a database that has a number of records, and when I print one of them, I would like to go into preview mode and print the record I am viewing.

Now when I go into preview mode, it lists all of the records I am currently browsing, and I need to find the one I want to print.

What is the best way to script a find that goes to the current record I am working on when I enter preview mode? I want to eliminate the manual search. This may sound confusing, but it seems like it would be a simple thing.

Posted

Is the important thing to Print only the current record or is the important thing to preview the current record? The solutions could be different.

Posted

Assuming that the current record has a unique identifier, pseudocode:

Set variable [$recordID; RecordID]

new window

enter find mode

set field [RecordID; $recordID]

Perform Find

Set error capture on

enter preview mode

Print[]

Close window

Posted

Bruce,

Thanks, that seems to work out. I was almost there but couldn't quite figure out the set variable function. Your answer clarified it for me and also showed me I was on the right track.

Thanks again.

Juststo

This topic is 6662 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 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.