Hi
I am creating a linked table to an odbc datasource in access vba. When I create the link, access shows a windows with the title "Select Unique Record Identifier" and it gives a list of all the fields in the table to select from with OK and Cancel. All I need to do is click cancel and the table will link properly.
How can I keep this message from coming up using Code?
The code to link the database table is as follows:
DoCmd.TransferDatabase acLink, "ODBC Database", "ODBC;DSN=AS400 AMFLIB;", acTable, "SLDATAL0", "AMFLIB_SLDATAL0", False
Thanks, Derek
I am creating a linked table to an odbc datasource in access vba. When I create the link, access shows a windows with the title "Select Unique Record Identifier" and it gives a list of all the fields in the table to select from with OK and Cancel. All I need to do is click cancel and the table will link properly.
How can I keep this message from coming up using Code?
The code to link the database table is as follows:
DoCmd.TransferDatabase acLink, "ODBC Database", "ODBC;DSN=AS400 AMFLIB;", acTable, "SLDATAL0", "AMFLIB_SLDATAL0", False
Thanks, Derek