View Single Post
  #2 (permalink)  
Old May 9th, 2008, 10:18 AM
mmcdonal mmcdonal is offline
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Look up the ConnectionString article in VBA Help. I don't think you are using the correct syntax. It is odd that SQL Server did not throw you an error:

cnn.ConnectionString = "Data Source=LAVA;"
cnn.Open



mmcdonal

Look it up at: http://wrox.books24x7.com
Reply With Quote