Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel ODBC
Message
De
08/03/2012 19:08:43
 
 
À
08/03/2012 11:13:41
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
01537627
Message ID:
01537680
Vues:
37
>I am trying to pull a spreadsheet from Excel into VFP using a class I built based upon Sweet Potato Software's freeware. No matter what I do, the first row is ignored. The ODBC statement is below: (m.lcHeaderRow = "No")
>
>
>	m.lnSQL = Sqlstringconnect("Provider=MSDASQL.1;" ;
>		+"Persist Security Info=False;" ;
>		+"DSN=Excel Files;" ;
>		+"DBQ="+Fullpath(m.tcXLSFile)+";" ;
>		+"DriverId=790;" ;
>		+"MaxBufferSize=2048;" ;
>		+"PageTimeout=5;"  ;
>	        + m.lcHeaderRow)
>
http://support.microsoft.com/kb/288343
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform