Column Headings on a Listbox?

R

RockNRoll

Greetings,

Is there a way to show column headings on a listbox, or do I need to create
separate labels above the list box? Thanks,

-Dave
 
K

Kevin Sprinkel

Change the List Box' Column Heads property to Yes. It's
No by default using the wizard.

Kevin Sprinkel
 
R

RockNRoll

Tina and/or Kevin,

Can I change those column headings? The field names in our SQL server are
cryptic at times.

Thanks,
-Dave
 
F

fredg

Tina and/or Kevin,

Can I change those column headings? The field names in our SQL server are
cryptic at times.

Thanks,
-Dave

You can change the field heading in the Row source property of the
list box SQL:

Select TableName.Field1 as ANewName, TableName.Field2 as AnotherName
from TableName Order by TableName.Field2;
 
V

Van T. Dinh

You can use Aliases in your Query / SQL String and the ListBox Columns will
use the Aliases. Something like:

SELECT Cryptic1 AS Meaningful1, Cryptic2 As Meaningful2 ...
FROM ...
 

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

Similar Threads

Anone noticed this odd behavior? 1
Formatting listbox headings 3
Sort Listbox by clicking label headers 3
Requery not working 8
list box 1
List Box Headings 3
Access Cannot select items in listbox 1
Spreadsheet view headings 3

Top