Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSDE - How to attach to a database using SQLDMO
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
MSDE - How to attach to a database using SQLDMO
Divers
Thread ID:
00251681
Message ID:
00251681
Vues:
66
Our company is attempting to use MSDE. I'm attempting to connect
the database files to SQL7/MSDE via the AttachDBWithSingleFile method
as follows:

x=CreateObject('SQLDMO.SqlServer')
x.Connect()
X.AttachDBWithSingleFile('demodb','C:\msde_demo\NorthwindCS.adp')

I'm not able to attach the file to SQl7/MSDE, regardless of file
type (I've tried the .MDE/.MDB datatypes). Does the file have to be
of type .MDF and if so, how is this file created????

Is there an easy way to create foxpro databases and migrate them
over to MSDE?

Thanks in advance....
Chester West (CWEST@PARITYCORP.COM)
Répondre
Fil
Voir

Click here to load this message in the networking platform