Click here to Skip to main content
12,078,259 members (41,834 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: MFC
I am having problems populating the list control with data when I using report view. I can create the column headings and they show up properly. If I insert items, they do not show up, however, if I query them from software they are there. When I retrieve the count, they proper amount shows up?

Any ideas?
Posted 4-Feb-13 8:03am
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You need to do an UpdateData(TRUE) after making changes to the control to get it to display.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

The reason could be the view type you selected may be 'ReportView' if you choose your view as report, you need to add columns to the ListControl first. You can do this programmatically using Insert Column[^] or by design time.

Try adding the columns and check your screen.
  Permalink  
Comments
Sachin Shinde 9-Jun-14 7:18am
   
tried but didnt worked

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160212.1 | Last Updated 9 Jun 2014
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100