Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation problems
Message
De
29/11/2000 04:28:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Word Automation problems
Divers
Thread ID:
00446618
Message ID:
00446618
Vues:
39
I have a database with some artikeldetails. For each line i want to create a table in word with the details. I cannot make a table with reccount-rows because sometimes i have to add a picture of the article just before or just after the table. Everything works fine exept for one thing. When to tables directly follow each other there is a blank space between them what causes an empty line. How can I delete this empty line. Here's a part of the code:

go top in "artiktmpl"
do while !eof("artiktmpl")

**** Insert a before picture if wanted ****

oTable = oDocument.tables.add( oRange, 1, aanttab, wdWord9TableBehavior,2)
oTable.borders.InsideLineStyle = .F.
oTable.borders.OutsideLineStyle = .F.

**** Add values to the different cells *****

oRange.move(6) && To jump out of the table

**** Insert a after picture if wanted ****

oRange.move(6)
oRange.InsertAfter(CR)
oRange.move(6)

skip in "artiktmpl"
enddo
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform