In the Notes client, if you have a database open, when you open a document from that database, the document tab open at the end of all the tabs. It should open right next to the database from which it came. Basically, insert the tab instead of append the tab. This is convenient since you don't have to then search for the document you opened. I often have to drag the tab next to the db just to keep track of where it is.