Populate a Table Macro using bookmarks

J

Jeanne Moos

Good evening Microsoft experts,

I 'd like to create a table that populates with data from an Oracle
database. The connection is already made. We use bookmarks to call the data
in the Oracle database.

Upon opening the active document I'd like a table to be created.
The columns are fixed. There are six. The row number is dynamic.
I'd like to use a bookmark called rows to determine the number of rows to be
created. The bookmark value will be populated by the database.
The bookmarks for each column are employeeno, employeename, address, state,
comments.

Thanks
 
D

Doug Robbins

I would have thought the way to do this was to iterated through the records
in the database, add a row for each record and populating it with the data
before moving on to the next record.

I am not quite sure what you mean by "use bookmarks to call the data..."

Have you considered using a catalog (or in Word XP and later, a directory)
type mailmerge?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top