When you connect to a database by selecting its database profile, InfoMaker writes the profile name and its connection parameters to the registry key HKEY_CURRENT_USER\Software\Sybase\PowerBuilder\12.5\ DatabaseProfiles\PowerBuilder.
Each time you connect to a different database, InfoMaker overwrites the “most-recently used” profile name in the registry with the name for the new database connection.
When you start InfoMaker (with the Automatically Connect to Database system option selected) or open a painter that accesses the database, you are connected to the database you used last. InfoMaker determines which database this is by reading the registry.
The three-letter abbreviation for the database interface followed by the name of the database profile displays in InfoMaker's main title bar. If you are working with a report or form, this visual cue makes it easier to check that you are using the right connection. For example, if you open the tutorial PBL and connect to the EAS Demo database, the title bar displays “tutor_im.pbl - ODB [EAS Demo DB V125 IM] - InfoMaker.”