PDA

View Full Version : More for you SQLDMO people



sgrebey
11-07-2003, 01:45 PM
Anybody else have a problem using AttachDB through InstallScript? Here's what I'm doing...

strPath = TARGETDIR + "\\eChart.mdf";

oServer.AttachDB("eChart",strPath );

And I get an error about incorrect file "C:\Program", so it is losing the string at the first space. Any thoughts?

sgrebey
11-07-2003, 01:47 PM
Ok, nevermind, stupid multistrings....