Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating rtf - need tables too

Status
Not open for further replies.

doorbreaker

Programmer
Nov 19, 2002
91
GB
hi,

I am currently getting data from my db and creating rtfs with it.

how though do i format layout? I need to create a table with one row and two columns in the rtf - all of the "iewkind4\uc1\pard\b\f0\fs28" style stuff is confusing me no
end.

Does anyone know the syntax to create a table in an rtf?

Thanks in advance

Chris
 
Thanks for the link.

Does anyone see anything wrong with this for a one row - two column table?

Code:
objTextFile.WriteLine "\trowd	\trautofit1	\intbl \cellx1 \cellx2 {\test1 \test2} \row}"

I get a corrupted table error in Word.

Thanks

Chris

p.s I hope this is the correct forum....
 
Ok, this appears to be a bit of a nightmare controlling tables in rtf. Any ideas how to control the width of a table?

I am going to need to print addresses onto labels so I have to be able to control where my data ends up.

Thanks for any help on this issue

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top