I am linking to a Oracle database via VB code. I am using DoCmd.TransferDatabaseLink command to link to 6 tables in a data base. Some of these tables have indexes and some do not. On the tables that do not have indexes a dialog pops up to select unique record identifiers. This dialog is giving me problems. I could use a sendkey command to hit enter bypass the dialog and to link the next table. The problem arrises when I do not know which table may need the sendkeys command. I want the users to have the abiltiy to add more tables to link. How do I know when to use the send key command if the dialog is displayed. Thanks in advance for any help!!!