variable field width

J

John D.

I need to display client name and associated address information. There are
three rows of data which are taken from the contacts table.

The field boxes are all fixed in width, I want to make the width dependant
on the data length, and if the field data are short, the boxes would leave no
extra white space.

I may have several field boxes in a row, and I would like the boxes to go
right next to one another without spaces, so each field box position is
anchored to the end of the previous field box.

How would I implement this?

John.
 
R

Rick Brandt

John said:
I need to display client name and associated address information. There
are three rows of data which are taken from the contacts table.

The field boxes are all fixed in width, I want to make the width dependant
on the data length, and if the field data are short, the boxes would leave
no extra white space.

I may have several field boxes in a row, and I would like the boxes to go
right next to one another without spaces, so each field box position is
anchored to the end of the previous field box.

How would I implement this?

If this is only for *display* then just use an expression in each of three
stacked TextBoxes that span the length you need for all the data on a row.
The TextBox won't change width, but the data will always be right next to
each other.

Example expression for City, State and Zip...

=[CityField] & ", " & [StateField] & " " & [ZipCodeField]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top