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!

Size & position text boxes programatically? 2

Status
Not open for further replies.

santastefano

Programmer
Aug 9, 2005
54
IT
I am producing invoices from the client table
The client table currently uses First Name, Family Name.
As these are sized for the longest names there is often a big gap between the First name and the Fasmily Name on the printed document for example

Jo Coley

Because Jo must also allow for Alexander.
Is it possible to size the first text box by contents and place the second text box immediately to the right?
Any ideas/pinters/suggestions gratefully received.
 
Have only one TextBox and poupulate it with Trim([First Name]) & " " & Family Name

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 


Hi,
Code:
Trim([First Name]) & " " & Trim([Family Name])


Skip,
[sub]
[glasses] [red][/red]
[tongue][/sub]
 
Thanks PH and Skipvought.
Also made avoiding duplicates much easier.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top