Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening a report in Word
Message
 
 
À
22/11/2005 07:52:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01071126
Message ID:
01071131
Vues:
33
The current Word session will not be affected unless you're using the same Export File Name every time.


>I've been trying to export a report to word and it's seems to be working fine the first time I do it. If I export again it closes the original Word window and opens a new one. I've included my code below. Can someone see how I could change it to allow it to open another Word window without closing the first one.
>I'm afraid of people editing documents. Then by running my app they lose their changes without the chance of saving.
>
>Any help would be great,
>
>LPARAMETERS tcExportFileName
>
>Declare Integer ShellExecute In SHELL32.Dll Integer , String , String , String , String ,  INTEGER
>
>ShellExecute(0,'Open',tcExportFileName,'','',1)
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform