ODBiC Discussion Board

RE: (Reply), sam, 02-08-2006

Sorry, you don't want quotes around the DSN name

by Roger Harris, February 8, 2006 11:30

Either <% DATABASE DSN=personal %> or <% DATABASE "DSN=personal" %> (quotes around the whole connection string) should work, if the DSN is valid. (You must use quotes around the whole connection string if it contains any semi-colons to separate multiple parameters, such as <% DATABASE "DSN=personal;UID=Admin;PWD=password" %> because semi-colons also mark the end of ODBscript commands.)


Post Your Reply:

E-mail  optional

HTTP Link: 
Link text: 


Copyright ©1997-2003, Roger Harris. All rights reserved.