Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inseting Data Into Access From SQL 7
Message
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00575821
Message ID:
00576925
Vues:
35
Congrats.

>Well, I figured it out finlly!! Take a look:
>
>dim cnn as ADODB.Connection
>dim strSQL as String
>set cnn = new ADODB.Connection
>
>cnn.Open "String to Access DB to Insert data Into"
>
>'The Third Lines is the Key One. this is the SQL server DSN
>strSQL = "INSERT INTO TradingDate (dTradingDate) "
>strSQL = strSQL & " SELECT dTradingDate "
>strSQL = strSQL & " FROM [ODBC;DSN=LIVE;UID=sa;PWD=;].Orders"
>
>cnn.Execute strSQL
>
>'You know the rest of this one. This is the only way I got this one to work.
>
>Jason
Igor Gelin
Database Developer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform