Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbf to Excel
Message
 
 
À
24/07/2007 22:42:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01243144
Message ID:
01243377
Vues:
25
>On this line
>copy to forceext(m.ab4 + juststem(m.mtablename),'xls') type xl5
>
>error messages appears as
>ole error code 0x80030003: unknown COM status code

Ok, let's do in two steps.
lcXlsFile = forceext(m.ab4 + juststem(m.mtablename),'xls')

=messagebox(lcXlsFile) && to make sure we created a good file name

try
   copy to (m.lcXlsFile) type xl5
catch to loEx
   ** we may have problems preventing us from copying the file
endtry
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