Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code pages
Message
De
03/06/2004 12:07:07
Steven Edge
Soft Solutions Limited
Lagos, Nigéria
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Code pages
Divers
Thread ID:
00909600
Message ID:
00909600
Vues:
32
Hi,

I ran into this problem automating Excel. I saved a selection of an Excel spreadsheet as a DBF file. When I open it in Foxpro, the program enters a modal state where the user is asked to assign a code page. Is there any way to avoid this? The relevant code is shown below.

loXl.ActiveWorkbook.SaveAs(m.lcDbfName, 11, 0)

*- Close down Excel
loXl.ActiveWorkbook.Close(0)
loXl.quit()
STORE NULL TO loXl

*- Extract the data into a cursor
USE ( m.lcDbfName ) IN 0

Steven
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform