Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP-Word2K - How to name tables for Automation purposes
Message
De
07/03/2003 10:58:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00761398
Message ID:
00762746
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>Thats great, but then how would I know the table no. of this bookmarked table, or how would I reference the table once I found the bookmark?

I just took a look at the code where I mixed bookmarks and tables and I see that I wasn't using the bookmarks to find the tables, but to keep track of page numbers and things.

However, what you could do is make the table itself the bookmark and then you can get a reference to it without needing to know what number it is.

If you highlight the whole table and set a bookmark on it, say, called "MyTable," then you can get your hands on the table like this:

oTable = oDocument.Bookmarks["MyTable"].Range

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform