cyberbob999
Technical User
I am trying to fill in a table in MS Word using a recordset from a query (SurvQuery). SurvQuery has the following fields: [comment], [cause], [action] and [date]. The table has only the 4 columns: one for each of the above fields. There is a variable number of rows depending on how many records are in the query (ie one row for each record)
I have been able to create a bookmark in the first cell and write [comment] to that cell. What I want to do is tab over to the next cell and write [cause] and keep "tabing" /writing until all of the records have been entered into the table (even at the end of the record, a tab should put me back at the beginning of the next row in the table). But, I am unable to do this. I have tried using the chr(9) (the horizontal tab character) but this just inserts a tab into the selected cell, it doesn't actually tab over to the next cell. It seems like there should be an easy way to do this, but I cannot find it. Any ideas?
Thanks in advance...
I have been able to create a bookmark in the first cell and write [comment] to that cell. What I want to do is tab over to the next cell and write [cause] and keep "tabing" /writing until all of the records have been entered into the table (even at the end of the record, a tab should put me back at the beginning of the next row in the table). But, I am unable to do this. I have tried using the chr(9) (the horizontal tab character) but this just inserts a tab into the selected cell, it doesn't actually tab over to the next cell. It seems like there should be an easy way to do this, but I cannot find it. Any ideas?
Thanks in advance...