General information
Category:
COM/DCOM and OLE Automation
Title:
Lining up columns w/tabs in Word
Hi,
I'm using a Word Template to create a document via VFP automation of Word. This document contains a payment ledger, w/columns:
Date, Payment Amount, Interest Rate, Interest Accrued, Addition Amount, Interest Paid, Unrecovered Interest Balance, Credit Amount, Balance, Notes.
The first line of the payment ledger is different, however. It has date, a reason (textual) for the payments, the starting Unrecovered Interest Balance and Balance.
This all worked fine...i had a bookmark to mark where the Unrecovered Interest Balance should be, so the length of the reason didn't matter.
Now I have to handle when there are 2 ledgers displayed together...so somewhere down the page, or 3 pages later, after columns of numbers there will be some spaces, then another line w/just a date, a textual reason for the payments, and the starting Unrecovered Interest Balance and Balance.
I'm having trouble lining up the Unrecovered Interest Balance and Balance, since the "reason" may take up a variable amount of space - it's a field in a table, but could be empty, or "PER CLIENT'S RECORDS" or "JUDGEMENT" - sometimes extending past the first and/or second tab stop. I can't just put out 5 or 6 tabs...i need to figure out how far across the page the text has taken me.
Any ideas?
TIA, j
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only