B
Bill R.
I have the following code...
Set db = CurrentDb()
Set rs = db.OpenRecordset("SelectedFiles")
With rs
Limit = .RecordCount
.MoveFirst
For Item = 1 To Limit
If !FDSSelected Then
Import.StatusBarText = "Importing " & _
!FDSFullPath & "\" & !FDSFileName
Call ImportTextFile....
.Edit
!FDSSelected = False
.Update
End If
.MoveNext
Next Item
End With
Set rs = Nothing
Set db = Nothing
It works fine on my development system, but on a users
machine, the Limit is set to twice the actual count.
It was working OK a week or so ago, & I suspect something
ELSE changed on his system...possibly the DAO/ADO
functions. I can't remember where to find them. Would
this cause such a problem & where can I locate them. I've
been there once, & thought it was under tools/options, but
I don't see it now.
Thanks for the help, you folks here are Great!. -Bill.
Set db = CurrentDb()
Set rs = db.OpenRecordset("SelectedFiles")
With rs
Limit = .RecordCount
.MoveFirst
For Item = 1 To Limit
If !FDSSelected Then
Import.StatusBarText = "Importing " & _
!FDSFullPath & "\" & !FDSFileName
Call ImportTextFile....
.Edit
!FDSSelected = False
.Update
End If
.MoveNext
Next Item
End With
Set rs = Nothing
Set db = Nothing
It works fine on my development system, but on a users
machine, the Limit is set to twice the actual count.
It was working OK a week or so ago, & I suspect something
ELSE changed on his system...possibly the DAO/ADO
functions. I can't remember where to find them. Would
this cause such a problem & where can I locate them. I've
been there once, & thought it was under tools/options, but
I don't see it now.
Thanks for the help, you folks here are Great!. -Bill.