Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
With fox loop to document in Word
Message
De
06/02/2004 06:43:46
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
05/02/2004 15:45:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00874575
Message ID:
00874762
Vues:
15
>Finally I found just a few minutes after I send the first message. Here is the code
>
>if type('oWord') == 'O'
> for i=1 to oword.Documents.Count
> ? oword.Documents(i).Name
> ?? oword.Documents(i).saved
> endfor
>ENDIF
>
>Thanks

I think your original code would work too with a slight change :
if type('m.oWord') == 'O' and !isnull(m.oWord)
  for each oDoc in m.oWord.Documents
       ? m.oDoc.Name, m.oDoc.Saved
       oDoc = .null.
  endfor
endif
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform