Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
General Field Save as File
Message
De
09/07/2003 14:01:52
 
 
À
08/07/2003 13:04:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00808042
Message ID:
00808604
Vues:
16
Thanks! Thread ID: 737898, Message ID: 738011 solved my main issue. The following code allows me to copy the Word docs to disk without opening each one visually...

IF !USED("lettype")
USE lettype
ELSE
SELECT lettype
ENDIF
SCAN
WAIT WINDOW "Refreshing " + ALLTRIM(lettype.letname) + "..." NOWAIT
ThisForm.oWord.Refresh()
ThisForm.oWord.Object.SaveAs(lettype.letname)
ENDSCAN

...where oWord is an OLEBoundControl with lettype.letter (Word doc General Field) as the ControlSource.

Scott
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform