使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 479b1995ef435713c2cf4f0da8de3a6af6c30922
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#pragma once
#include "MBAMDBConnect.h"
#include "CrowdMsgRow.h"
#include "CrowdMsg.h"
// CCrowdMsgRowSet command target
 
class AFX_EXT_CLASS CCrowdMsgRowSet : public CObject
{
public:
    CCrowdMsgRowSet();
    virtual ~CCrowdMsgRowSet();
    void operator = ( const CCrowdMsgRowSet &Item );
// Attributers
public:
    CMBAMDBConnect    *m_pDBConnect;
    int                    m_nType;    
 
    CString                m_strStartDate;        // ÏûÏ¢¿ªÊ¼ÈÕÆÚ
    CString                m_strEndDate;        // ÏûÏ¢µÄ½áÊøÈÕÆÚ
    CCrowdMsgs            *m_pMsgs;
// Operations
public:
    void        CleanDataSet( );
public:
    bool        SetMsgFilterDate( CString strStartDate, CString strEndDate );
    bool        Prev( );
    bool        GetItemValueStr( CString strItemName, CString &strData );
    bool        GetItemValue( CString strItemName, VARIANT &vData );
    bool        GetRow( CCrowdMsgRow *pCrowdRow );
    bool        Next( );
    bool        Top( );
    bool        MoveTo( long nPos );
 
    bool        ListCrowdMsg2( CString strCrowdID, long nLimitCount, long &nCount, BOOL bTimeAsc = FALSE  );
    bool        ListCrowdMsg( CString strCrowdID, long &nCount, BOOL bTimeAsc = FALSE  );
    bool        ListSearchCrowdMsg( CString strCrowdID, CString strKey, long &nCount, BOOL bTimeAsc = FALSE  );
    bool        ListSearchCrowdMsgBox( CString strCrowdID, CString strKey, long &nCount, BOOL bTimeAsc = FALSE  );
    bool        SetDBConnect( CMBAMDBConnect *pDBConnect );
    bool        ListRecordCount( long &nCount  );
 
};