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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

my list control won't display items

Status
Not open for further replies.

rachelalfonso

Programmer
Dec 6, 2000
9
PH
I have a list control that should display items from a recordset, but it doesn't display the items when I called LoadSchedule which is the function that inserts items to the list control.

I found out that if I display a messageBox (which will contain just any message) before calling LoadSchedule(), the items in the recordset would be displayed in the list control.

I already tried calling Requery() after calling open just before calling LoadSchedule() but it didn't work.

S.O.S.

rachel

FYI
the list control is CListControl
the recordset is CRecordset

 
Hmm...I'm using a CListCtrl to display some items I get from a database also....maybe I can help.
First off, Have you tried to just insert some random info into your CListCtrl to see if you can get anything into it? How are you declaring your CListCtrl...are you using the wizard or are you actually declaring a CListCtrl. Also, show me just a small snippet of your code where you try to insert your info into the CListCtrl. As soon as I have this info, I may be able to help you.

Niky Williams
NTS Marketing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top