Re: Avoiding Login Prompt When Connecting to Access Database


Posted by Shen on January 26, 2001 at 10:55:27:

In Reply to: Avoiding Login Prompt When Connecting to Access Database posted by Jeff on December 27, 2000 at 19:59:45:

You haven't connected TTable to TDatabase, but have set TTable's Database property to point to Alias name. Set TDatabase DatabaseName property to some custom string (I usually use adtbMain so it appears at the top of drop down), then set TTable Database property to that.
Also, when creating ODBC DSN you don't have to create BDE alias too. BDE merges DSNs with aliases from IDAPI.cfg (or something like that :-))