>I understand you can set the general settings for an .adp file, but how can
>I
> change it so it works as an .ade file when run using access 2002 runtime?
>
> "Sylvain Lafontaine" wrote:
>
>> For ADE, I don't know but for ADP, Access is opening three connections
>> (and
>> sometimes a fourth) when accessing the SQL-Server; with the effect that
>> setting the currentproject.connection.commandtimeout will only be of
>> limited
>> use.
>>
>> You should try setting the Connection TimeOut and the General Timout to
>> 0.
>> You will find these under the "File | Connection | Advanced" and "File |
>> Connection | All" tabs.
>>
>> --
>> Sylvain Lafontaine, ing.
>> MVP - Technologies Virtual-PC
>> E-mail:
http://cerbermail.com/?QugbLEWINF>>
>>
>> "Doug" <Doug[ at ]discussions.microsoft.com> wrote in message
>> news:6D1AE575-4E09-4FC1-B42F-B662CEF9A260[ at ]microsoft.com...
>> >I have an Access 2002 adp program that uses a very large SQL Server
>> >database.
>> > I am running into an issue where the sql commands are timing out when
>> > selecting large recordsets. I have added the following code prior to
>> > opening
>> > recordsets:
>> > set cn = currentproject.connection
>> > cn.commandtimeout = 0
>> >
>> > This doesn't seem to work for users that are running the .adp file with
>> > Access 2002 runtime.
>> >
>> > Any ideas?
>>
>>
>>