listbox format alignment

  • Thread starter vbnetman via AccessMonster.com
  • Start date
V

vbnetman via AccessMonster.com

Is there a way to format the alignment of text in listbox columns? I need to
center it.

Thank you kindly

vb
 
K

KARL DEWEY

Try this ---
SELECT Space(15-len([LegalDisp])/2) &[LegalDisp] FROM [Dennis_M_Legal];

This measures the lenght of the data, divides by 2, and subtracts that from
15 to pad leading spaces.
 

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