Jul
04
2002
ODBC Datasource name
Posted by admin under
ADO database
Some ISP:s setup a datasource name for you and if that's the case it is easy. You have probably specified for your ISP where your actual database file is located ( maybe under a /odbc ) directory. Then he sets up for you a sort of shortcut for you where you only have to specify the datasource name to access the specific database file. Suppose your datasource name is called sqlexper ( it is for me on this site ):
<%
Function Incdb_GetConnectionString( nNumber )
Incdb_GetConnectionString = "sqlexper"
End Function
%>