PC Review


Reply
Thread Tools Rate Thread

connecting to an SQL Server backend - best practice

 
 
=?Utf-8?B?SXRhbGlhbiBQZXRl?=
Guest
Posts: n/a
 
      21st Jun 2005
Hi,
I have an Access Project front end connecting to an SQL Server
database. The connection was set up in the data link properties but seems a
bit flakey. I'd like to ask a question about best practices for connecting to
a database for reading and writing data.

When reading/writing, is it best to create a connection in code in the
moment in which it is required or should a continuous connection e created
and tested periodically to check that it's state is still active?

What code would be used in the best practice case?

I hope this makes sense,
Many thanks,
Pete
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL server backend inungh Microsoft Access Queries 2 19th May 2010 04:35 PM
Programmatically connecting to backend =?iso-8859-1?B?UultaQ==?= Microsoft Access Form Coding 2 17th Apr 2007 07:34 PM
Simple task works when MS SQL Server is the backend but not when MySQL is the backend. Ted Microsoft ASP .NET 1 22nd Feb 2007 08:33 PM
Connecting MSACCESS Frontend to MSSQL backend =?Utf-8?B?QmlsbA==?= Microsoft Access 2 4th Mar 2005 08:54 PM
Access97 Queries connecting via ODBC to Sybase SQLanywhere backend Jamie Microsoft Access Queries 11 17th Feb 2004 10:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:55 PM.