Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loosing path after exporting report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Loosing path after exporting report
Divers
Thread ID:
00861750
Message ID:
00861750
Vues:
53
We are using Crystal Reports with VFP thru ActiveX. We have had several instances with users as well as a couple of our employees where, if they export a report to any format (Excel, Word, Text file), they cannot run any other reports until they exit our APP and start it again. We have narrowed down the problem to this - we use SYS(2003) to get the current directory and then use that to tell Crystal the location of the reports. Normally this gives us the correct path where we store the .RPT's. However, on the systems that are getting the errors, after exporting a report, SYS(2003) returns '\PROGRAM FILES\COMMON FILES\SYSTEM\MAPI\1033' instead of the correct path. This causes an OLE 1429 'Invalid Filename' error on the 'Action=1' line of any report form until the APP is exited because the .RPT's are not located in that path. There is nothing really in common between the machines that have this problem (i.e. operating systems, network, software loaded, etc.). It does seem to usually happen on new computers but not always. Does anyone have any idea why the current directory path would be '\PROGRAM FILES\COMMON FILES\SYSTEM\MAPI\1033' after exporting a report or what we can do to eliminate that problem.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform