Hi
I am currently transfering our data to msde 2000 from access, our largest file is 1.5 million records. I am using a
vb program to update these records from text file to the msde database using ADO, this keeps failing to open the database after half the records are loaded, and the whole msde server seems slow??
heres code from my
vb program:
hope someone can help.
rstPAFmain.Open "MAIN", , adOpenStatic, adLockOptimistic, adCmdTable
Open "s:\outfiles\Raw PAFPR.txt" For Input As #100
intLoaded = 0
Do Until EOF(100)
Line Input #100, OpRec
myarray() = Split(OpRec, Chr(9))
rstPAFmain.AddNew
For NN = 0 To 5
rstPAFmain.Fields(NN) = myarray(NN)
Next
intLoaded = intLoaded + 1
If intLoaded Mod 5000 = 0 Then
lblPAFCount.Caption = CStr(intLoaded)
End If
If intLoaded Mod 10000 = 0 Then
rstPAFmain.Update
End If
Loop
lblPAFCount.Caption = intLoaded
rstPAFmain.Update
rstPAFmain.Close