A
Atlas
Windows XP + Access 2003 + SPs + ADO 2.8 + MS SQL Server 2000
While loading a bound single form, in the open statement i try to find a
given record. Unfortunatelly it fails, because the recordset isn't still
fully loaded.
facts:
1) the table holds about 450 records
2) The behevaiour differs between computers, it looks like slower computers
are affected
I've tried the following
while me.recordset.state <> adStateOpen
loop
but it halts execution (hourglass) until a timeout occurs (many seconds) .
Digging into it throws that state is 9......
Then I'v tried to moveLast, moveFirst and then find
Private Sub Form_Open(Cancel As Integer)
strSQL = " SELECT SOMETHING"
Me.RecordSource = strSQL
Me.Recordset.MoveLast
Me.Recordset.MoveFirst
If globalIDgoto = 0 Then
DoCmd.GoToRecord , , acNewRec
Else
Me.Recordset.Find "[ID Giornale] = " & globalIDgoto, 0, 1, 1
End If
End Sub
But even here on slow computers it fails finding the records in the
recordset.
Tried to change cursrlocation from server to client.... nothin.
What could I try?
While loading a bound single form, in the open statement i try to find a
given record. Unfortunatelly it fails, because the recordset isn't still
fully loaded.
facts:
1) the table holds about 450 records
2) The behevaiour differs between computers, it looks like slower computers
are affected
I've tried the following
while me.recordset.state <> adStateOpen
loop
but it halts execution (hourglass) until a timeout occurs (many seconds) .
Digging into it throws that state is 9......
Then I'v tried to moveLast, moveFirst and then find
Private Sub Form_Open(Cancel As Integer)
strSQL = " SELECT SOMETHING"
Me.RecordSource = strSQL
Me.Recordset.MoveLast
Me.Recordset.MoveFirst
If globalIDgoto = 0 Then
DoCmd.GoToRecord , , acNewRec
Else
Me.Recordset.Find "[ID Giornale] = " & globalIDgoto, 0, 1, 1
End If
End Sub
But even here on slow computers it fails finding the records in the
recordset.
Tried to change cursrlocation from server to client.... nothin.
What could I try?