Rowsource

A

Asif

I'm using the following vb code to referance a listbox to a query

Me!lst_Cable.RowSource = "2-a CABLEENDSCONTENTS"

However when I run the code only the first column from the query is
displayed in the listbox, and I want the first 3 columns to be
displayed.

Any suggestions?

Thanks
 
N

Nikos Yannacopoulos

Asif,

You need to go into form design, and change the Column Count setting in
the listbox's properties to 3 (default is 1).

HTH,
Nikos
 
Top