Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Andy Kramek
  Where is Andy Kramek?
 Hot Springs Village
 Arkansas - United States
 Andy Kramek
 To: Noker Lodia
  Where is Noker Lodia?
 irvine
 California - United States
 Noker Lodia
Subject: RE: attach SQL DataBase From VFP
Thread ID: 101683 Message ID: 103667 # Views: 6 # Ratings: 0
Version: Visual FoxPro 8 Category: Databases, Tables and SQL Server
Date: Monday, August 7, 2006 11:49:38 AM         
   



> I think this is what he was looking for:
> oMyobject = CreateObject('SQLDMO.SQLServer')
> oMyobject.LoginSecure = .T.
> oMyObject.Connect([Server Name])
> oMyObject.AttachDBWithSingleFile([DataBase Name])
>
> (Assuming SQL Server has already been installed)


Maybe. But, as I keep saying, you still have to install SQL Server first. You cannot use anything (UI based or not) without installing it. The original question was 'can I attach a SQL Server database WITHOUT installing SQL Server?' The answer is still "NO" :)

Regards
Andy Kramek
Microsoft MVP (Visual FoxPro)
Tightline Computers Inc, Akron Ohio, USA

ENTIRE THREAD

attach SQL DataBase From VFP Posted by yaser awwad @ 7/18/2006 10:39:07 AM
RE: attach SQL DataBase From VFP Posted by Andy Kramek @ 7/18/2006 1:36:09 PM
RE: attach SQL DataBase From VFP Posted by Noker Lodia @ 7/18/2006 6:29:16 PM
RE: attach SQL DataBase From VFP Posted by Andy Kramek @ 7/18/2006 10:38:23 PM
RE: attach SQL DataBase From VFP Posted by Noker Lodia @ 7/19/2006 12:53:27 AM
RE: attach SQL DataBase From VFP Posted by Andy Kramek @ 7/19/2006 12:39:10 PM
RE: attach SQL DataBase From VFP Posted by Noker Lodia @ 8/7/2006 11:14:05 AM
RE: attach SQL DataBase From VFP Posted by Andy Kramek @ 8/7/2006 11:49:38 AM
RE: attach SQL DataBase From VFP Posted by Noker Lodia @ 8/7/2006 1:07:23 PM
RE: attach SQL DataBase From VFP Posted by M. Tanveer Ul Hassan Shaheen @ 4/28/2009 1:34:07 PM
RE: attach SQL DataBase From VFP Posted by Anders Altberg @ 4/28/2009 2:11:16 PM