Re: Reading Access DB: get someteimes Data - sometimes not

From: Marcel Gätzi (MarcelGtzi_at_discussions.microsoft.com)
Date: 07/28/04


Date: Tue, 27 Jul 2004 23:13:04 -0700

Hi Val,

I'm glad you don't see anything wrong in my Code. I use the "if rst.BOF ..." line for debuging reasons. You mentioned "MDAC corruption". Can this explain the situation?

I don't get no data on this specific server - it works fine until a certain time, after this I only get EOF and after another while the server crashes. Who can I fix MDAC corruption?

Thank you very much for your help!

Marcel

"Val Mazur" wrote:

> Hi,
>
> I do not see anything wrong in a code, except it could be simpler. If it
> works on all PCs, except one, then it could be related to the MDAC
> corruption. Do you get any error message?
> Your code actually should look like (you do not need to check for BOF and
> EOF in your case and do not need to use MoveNext)
>
> Set rst = cmd.Execute()
>
> If Not rst is Nothing Then
> Do While Not rst.EOF
> '************************* in the beginning, data is retrieved
> Call rst.MoveNext
> Loop
> End If
>
> --
> Val Mazur
> Microsoft MVP



Relevant Pages

  • Re: Rekursionen etc
    ... Technisch kein Problem, habe Zugriff und Connections auf beide DBS, habe nur ein "Logikproblem", folgendes: ... Server, 19", AMD, Opteron, IBMblablbal, 25? ... Lese Satz ... solange nicht EOF ...
    (microsoft.public.de.german.entwickler.dotnet.datenbank)
  • NFS: NFS3 - page null fill in a short read situation
    ... file data corruption if the NFS filesystem on a non-Linux server ... The Linux NFS client ... creates a file on the server and issues the following sequence of lseeks, ... We have several non-Linux NFS servers that do not return the EOF status ...
    (Linux-Kernel)
  • Re: Store SQL Timestamp locally for comparison
    ... deleted from the server. ... Dim rst As DAO.Recordset ... Dim lngRecords As Long ... Set rst = dbs.OpenRecordset ...
    (microsoft.public.access.modulesdaovba)
  • read on socket shows EOF... but only when app is running in background
    ... Does anybody know other reasons a TCP Socket will read eof besides being ... My multi threaded server application doesn't work when run in the ...
    (comp.unix.programmer)
  • Re: Store SQL Timestamp locally for comparison
    ... deleted from the server. ... Dim rst As DAO.Recordset ... Dim lngRecords As Long ... Set rst = dbs.OpenRecordset ...
    (microsoft.public.access.modulesdaovba)