From e9a145dfae8c5d639739e61fd51aed742389850f Mon Sep 17 00:00:00 2001 From: George Tasker Date: Wed, 24 Nov 1999 18:45:23 +0000 Subject: [PATCH] Added optional param to Count() function to allow for counting DISTINCT columns rather than all columns git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dbtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/dbtable.h b/include/wx/dbtable.h index a07217ba8b..291c62e379 100644 --- a/include/wx/dbtable.h +++ b/include/wx/dbtable.h @@ -181,7 +181,7 @@ public: bool DeleteCursor(HSTMT *hstmtDel); void SetCursor(HSTMT *hstmtActivate = (void **) DEFAULT_CURSOR); HSTMT GetCursor(void) { return(hstmt); } - ULONG Count(void); + ULONG Count(const char *args="*"); int DB_STATUS(void) { return(pDb->DB_STATUS); } bool Refresh(void); bool SetNull(int colNo); -- 2.47.2