Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dbf to Excel
Message
 
 
To
24/07/2007 22:42:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01243144
Message ID:
01243377
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform