Home > Software engineering >  Wrong runtime chengji sorting, execution or the default sorting, strives for the great god look, how
Wrong runtime chengji sorting, execution or the default sorting, strives for the great god look, how

Time:09-16

While (m_XS2. GetCount () & gt; 0)
{
M_XS2. DeleteString (0);
}
M_pSet - & gt; M_strFilter="kemu=?" ;
M_pSet - & gt; M_kemu=m_km4;
M_pSet - & gt; M_strSort="chengji DESC";
M_pSet - & gt; Requery ();
M_pSet - & gt; MoveFirst ();
While (m_pSet - & gt; IsEOF ()!
=1){
8 8 m_xs2. The Format (" % d % s % % 6 d "6 s, m_pSet - & gt; M_xuehao m_pSet - & gt; M_xingming m_pSet - & gt; M_kemu m_pSet - & gt; M_chengji);
M_XS2. AddString (m_XS2);
M_pSet - & gt; MoveNext ();
}
M_pSet - & gt; M_strFilter="";
M_pSet - & gt; Requery ();

CodePudding user response:

M_pSet - & gt; M_strSort="";//"chengji DESC";

CodePudding user response:

reference 1st floor zgl7903 response:
m_pSet - & gt; M_strSort="";//"chengji DESC";

This is not to mark

CodePudding user response:

reference 1st floor zgl7903 response:
m_pSet - & gt; M_strSort="";//"chengji DESC";

Still not sorted, the result is long

CodePudding user response:

What is the control m_XS2? Whether has the SORT attribute?

CodePudding user response:

The list box ID, CListBox type
  • Related