August 30, 200619 yr 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.
August 30, 200619 yr 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.
August 30, 200619 yr 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
August 30, 200619 yr Author 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
August 30, 200619 yr I would recommend an easier approach: New Window [] Show All Records Omit Record Show Omitted Only Enter Preview Mode [Pause] Close Window [current window]
Create an account or sign in to comment