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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tab Leader (dot-dot-dot) like uSofft Word

Status
Not open for further replies.

ProfReynolds

Programmer
Sep 12, 2001
96
0
0
US
I'm preparing a membership directory and need to have a ... leader between the name and phone number. I'd really like this to function just like Microsoft Word. I've done a couple of tricks, but everything falls apart when the name is long and wraps to the next line.
 
Try this:

{table.name}+replicatestring(".",50-len({table.name}+{table.phone}))+{table.phone}

Adjust the 50 to lengthen/shorten the field as necessary. You MUST use a non-proportional font like CourierNew for this to work properly.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top