Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select outputs
Message
 
 
À
24/10/2008 15:29:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01356977
Message ID:
01357080
Vues:
18
>Thanks Naomi. I have modified as follows:
>Dim oConnVFP As New Data.OleDb.OleDbConnection(ConfigurationManager.ConnectionStrings("VFPLibrary").ConnectionString)
>Dim objCommandCSV As New System.Data.OleDb.OleDbCommand("do createCSV", oConnVFP)
>
>objCommandCSV.CommandType = Data.CommandType.StoredProcedure
>
>oConnVFP.Open()
>objCommandCSV.ExecuteNonQuery()
>
>oConnVFP.Close()
>But I am still getting an error. Here is the SP
>function CreateCSV()
>
>use c:\inetpub\wwwroot\aspxtest\app_data\library3 shared
>set safety off
>copy to c:\inetpub\wwwroot\aspxtest\app_data\PAGLibrary type csv
>set safety on
>use 
>endfunc
I think

>Dim objCommandCSV As New System.Data.OleDb.OleDbCommand("do createCSV", oConnVFP)

should be

>Dim objCommandCSV As New System.Data.OleDb.OleDbCommand("createCSV", oConnVFP)

I haven't read it very carefully, and I have only few minutes right now.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform