creating one column table with multiple num. of rows problem using word object

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



below is one partial of my coding. i need to populate date from the
database with only one table, one column but with multiple number of rows..
so the output can look something like this:

id : bla bla
name : bla bla
age : bla bla


i don't know what's wrong with my coding until my computer freeze whenever
i tried to execute these codes..
please help!


..Application.ActiveDocument.Tables.Add.Application.ActiveDocument.Range, 7,
2)
..Application.ActiveDocument.Tables(1).Cell(x, y) = rs.Fields(0)
..Application.ActiveDocument.Tables(1).Cell(x + 1, y) = rs.Fields(2)
..Application.ActiveDocument.Tables(1).Cell(x + 2, y) = rs.Fields(3)
..Application.ActiveDocument.Tables(1).Cell(x + 3, y) = rs.Fields(9)
..Application.ActiveDocument.Tables(1).Cell(x + 4, y) = rs.Fields(3)
..Application.ActiveDocument.Tables(1).Cell(x + 5, y) = rs.Fields(4)

rs.MoveNext
x = x + 1
.



Relevant Pages

  • Re: Find string on a row and sum value from same row....
    ... Create a list of all project ids and Coding and Testing, ... "Bob Phillips" wrote: ... 1:0 JobA ...
    (microsoft.public.excel.programming)
  • Re: Multi-level ordered list
    ... Browsers: IE7? ... more bla bla. ... Had some success with Firefox 3.5 but completely out of ... Manual coding?? ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Find string on a row and sum value from same row....
    ... a button and summerize all time spent on each project. ... 7182 Coding 2:00 ... 1:0 JobA ...
    (microsoft.public.excel.programming)
  • Re: query loses its contents!
    ... That's what I was afraid of as that points to database corruption. ... Next import in the problem query. ... select bla bla bla ...
    (microsoft.public.access.queries)
  • matching over multiple lines
    ... When I was starting to learn regexes in Perl, ... Bla bla bla etc etc etc all those boring stuff everyone hates to read ... and have its matches work OVER MULTIPLE ... realize that the books I've read don't teach this. ...
    (comp.lang.perl.misc)