Click here to Skip to main content
15,896,201 members
Home / Discussions / Database
   

Database

 
GeneralRe: how can i repair and compact the access2000 database using ado in vc? Pin
whelk2-Dec-02 14:04
whelk2-Dec-02 14:04 
GeneralRe: how can i repair and compact the access2000 database using ado in vc? Pin
John Wong2-Dec-02 21:34
John Wong2-Dec-02 21:34 
GeneralRe: how can i repair and compact the access2000 database using ado in vc? Pin
whelk2-Dec-02 22:38
whelk2-Dec-02 22:38 
GeneralRe: how can i repair and compact the access2000 database using ado in vc? Pin
John Wong3-Dec-02 22:09
John Wong3-Dec-02 22:09 
GeneralRe: Milli second resolution in DateTime Pin
Rob Graham23-Nov-02 6:12
Rob Graham23-Nov-02 6:12 
GeneralRe: Milli second resolution in DateTime Pin
Majid Shahabfar26-Nov-02 0:34
Majid Shahabfar26-Nov-02 0:34 
QuestionRecordCount Property return me -1? Pin
anju22-Nov-02 2:07
anju22-Nov-02 2:07 
AnswerRe: RecordCount Property return me -1? Pin
Nick Parker22-Nov-02 2:25
protectorNick Parker22-Nov-02 2:25 
anju wrote:
RecordCount Property giving me -1 value

MSDN has an article:
PRB: ADO: Recordcount May Return -1[^]

You might also review the example on this site:
Filter and RecordCount Properties Example (VC++)[^]. Here is a snip of what I am talking about.

rstPublishers->CursorType = adOpenStatic;

        TESTHR(   rstPublishers->Open("publishers",strCnn, 
             adOpenStatic , adLockReadOnly,adCmdTable));

        // Populate the Recordset.
        intPublisherCount = rstPublishers->RecordCount;


Hope this helps. Smile | :)

Nick Parker

May your glass be ever full.
May the roof over your head be always strong.
And may you be in heaven half an hour before the devil knows you’re dead. - Irish Blessing



GeneralRe: RecordCount Property return me -1? Pin
anju22-Nov-02 20:46
anju22-Nov-02 20:46 
GeneralTrying to close Access DB while app running... Pin
LukeV21-Nov-02 9:11
LukeV21-Nov-02 9:11 
GeneralRe: Trying to close Access DB while app running... Pin
Rob Graham21-Nov-02 10:14
Rob Graham21-Nov-02 10:14 
GeneralRe: Trying to close Access DB while app running... Pin
LukeV22-Nov-02 3:10
LukeV22-Nov-02 3:10 
GeneralRe: Trying to close Access DB while app running... Pin
Rob Graham22-Nov-02 8:17
Rob Graham22-Nov-02 8:17 
GeneralOpinon: Direct remote access to SQL Server Pin
clintsinger21-Nov-02 6:17
clintsinger21-Nov-02 6:17 
GeneralRe: Opinon: Direct remote access to SQL Server Pin
Rob Graham21-Nov-02 8:04
Rob Graham21-Nov-02 8:04 
GeneralSQL Server OLEDB Provider and Narrow Characters Pin
Jörgen Sigvardsson20-Nov-02 22:57
Jörgen Sigvardsson20-Nov-02 22:57 
GeneralSQL Server Syntax for a CROSSTAB QUERY from MSAccess Pin
acosmin19-Nov-02 22:42
acosmin19-Nov-02 22:42 
GeneralRe: SQL Server Syntax for a CROSSTAB QUERY from MSAccess Pin
Nick Parker20-Nov-02 8:30
protectorNick Parker20-Nov-02 8:30 
GeneralSQL Server Syntax for a CROSSTAB QUERY in MSAccess Pin
acosmin19-Nov-02 22:39
acosmin19-Nov-02 22:39 
GeneralUser / system objects Pin
leppie19-Nov-02 12:22
leppie19-Nov-02 12:22 
QuestionCreate table and choosing a datetime format ? Pin
Bart-Man19-Nov-02 9:05
Bart-Man19-Nov-02 9:05 
AnswerSolution to my problem Pin
Bart-Man19-Nov-02 10:34
Bart-Man19-Nov-02 10:34 
GeneralMove data from SQL Srever to Access Pin
Ravish18-Nov-02 23:28
Ravish18-Nov-02 23:28 
GeneralRe: Move data from SQL Srever to Access Pin
Michael P Butler18-Nov-02 23:38
Michael P Butler18-Nov-02 23:38 
GeneralRe: Move data from SQL Srever to Access Pin
Paul Watson19-Nov-02 10:57
sitebuilderPaul Watson19-Nov-02 10:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.