CameronFrasnelly
asked on
ADP disconnect / reconnect using code
Hi there,
We've written a utility (ADP - SQL backend / Access ADP on the front) that we need to disconnect from the SQL server via code each night and then reconnect early in the morning. Does anyone know how to do this via code? Thanks!
We've written a utility (ADP - SQL backend / Access ADP on the front) that we need to disconnect from the SQL server via code each night and then reconnect early in the morning. Does anyone know how to do this via code? Thanks!
ASKER
No we don't want to ever shut the application down. We shutdown our SQL servers each night prior to backing them up which causes our utility to error out so we need to shut it down at 11pm and re-connect at 2am. And I can't get anyone to volunteer to come in! :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks did some digging on google for CurrentProject.CloseConnec tion and found some sample code!
Mike