Hi,
Word documents have a "Tables" object with an entry for each table in the same order as they are in the document. So you can refer to any table specifically.
There is a command "MoveDown" which moves the cursor down one line, and another command "TypeParagraph" which is the same as pressing the "Enter" key - it adds a new line.
So if you use the MoveDown command to exit a table, then the TypeParagraph command and then add your second table you should be OK.
The easiest way to see all this is to open a Word document, record a macro and then look at the macro. There are several lists of the values VFP uses for the WordBasic variables in the Files here, on the MS site and other places. Here's a MS reference that was given on UT in an earlier thread:
MS KB Reference HTH
Barbara
>hello all:
>
>i need help. pls.
>
>thru' OLE/COM i have to generate several consecutively placed tables in a WORD doc via VFP. the rows in each table are variable in number. i need to know how i can seperate each table with a blank line space to improve readability and also how to set the CELL row value to 1 for each new table. Presently, if my 1st table has 3 rows, then, the 2nd table's 1st row i am addressing as row number 4.
>
>hope i am understood.
>
>thanks in advance.