Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying a table to SQL Server
Message
De
27/01/2015 17:47:17
 
 
À
25/01/2015 22:45:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01614306
Message ID:
01614422
Vues:
27
Thanks.

The view is now in the DBC. Now I have the following problem:

I basically want to ZAP the remote table and APPEND from the latest local data. So this is my code:
OPEN DATABASE blarg    &&contains the views
USE v_table1                     &&the view
ZAP
APPEND FROM local_table1
USE
The trouble is that when I try to USE the view, I get a window asking me to enter the password for the SQL Server database. I thought that was taken care of by the ODBC connection?!

How can I bypass that window?

Thanks,

Yossi

>Use the upsizing wizard from VFPX to get the data into SQL Server. http://vfpx.codeplex.com/
>
>If you have little experience with SQL Server, go with remote views.
>
>>Hi All:
>>
>>I have very little experience working with SQL Server databases, but now my client has asked me to copy a bunch of VFP tables to SQL server as part of a program I wrote that he runs every day.
>>
>>I have gotten as far as installing SQL Server Express on my local machine, as well as importing the database structure to the SQL Server.
>>
>>I wonder is you can point me to some resources that will help me in this quest, as well as answer some questions like should I use views or SPT?
>>
>>I appreciate any help.
>>
>>Thanks,
>>
>>Yossi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform