Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: DSN vs DSNless


Message #1 by joyce@j... on Thu, 6 Mar 2003 05:58:20
I understand that alot of programmer prefer DSNless over DSN connection. 
Ken (Schaefer), if you are reading this post, I have a question to ask 
you, I have read your article on www.adopenstatic.com regarding prefering 
OLEDB connection over ODBC connection, but now I am having a problem with 
my recordsets. When I am defining my recordsets with the OLEDB connection, 
it gives me a blank error alert box but when I switch to the ODBC(DSN) 
connection and define that same recordset, it works... whats going on, 
please advice. I really want to use OLEDB connections since I realize the 
benefits of it, but if I can't get it to work... please advice.

Thanks in advance
Message #2 by "Ken Schaefer" <ken@a...> on Fri, 7 Mar 2003 11:41:57 +1100
Why don't you post some code?

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <joyce@j...>
Subject: [access_asp] DSN vs DSNless


: I understand that alot of programmer prefer DSNless over DSN connection.
: Ken (Schaefer), if you are reading this post, I have a question to ask
: you, I have read your article on www.adopenstatic.com regarding prefering
: OLEDB connection over ODBC connection, but now I am having a problem with
: my recordsets. When I am defining my recordsets with the OLEDB connection,
: it gives me a blank error alert box but when I switch to the ODBC(DSN)
: connection and define that same recordset, it works... whats going on,
: please advice. I really want to use OLEDB connections since I realize the
: benefits of it, but if I can't get it to work... please advice.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Message #3 by joyce@j... on Fri, 7 Mar 2003 14:55:24
Hi Ken,

Thanks for the reply! The reason why I got the error above was because I 
am using a reserve word in my recordset, now everything is working fine 
and I am still using my DSNless/OLEDB connection!

Thanks again.

  Return to Index