vthomeschoolmom
14 years agoSuper Contributor
strange intermittent error message
An exception occurred in the "commonlibrary" unit at line 684:
The object invoked chose not to process the call now. Try again later
I have written a manual checkpoint that compares values in a TrueDBGrid with the expected values. To do this I loop through the grid. (I love ActiveX.)
bFound = false
For i = 0 to Ubound(asTests)
grdTests.MoveFirst
Do While Not grdTests.EOF
If UCase(grdTests.Columns(0).Text) = UCase(asTests(i)) Then
bFound = true
Exit Do
end if
grdTests.MoveNext
Loop
If Not bFound Then ' If one test is not found, then the whole checkpoint fails.
bSuccess = false
Exit For
end if
Next
I have an array of expected values. I intermittently get this error on the MoveFirst method call. This makes for a fairly brittle test. It makes me sad! (joking around a bit.) Anyone have any thoughts?
The object invoked chose not to process the call now. Try again later
I have written a manual checkpoint that compares values in a TrueDBGrid with the expected values. To do this I loop through the grid. (I love ActiveX.)
bFound = false
For i = 0 to Ubound(asTests)
grdTests.MoveFirst
Do While Not grdTests.EOF
If UCase(grdTests.Columns(0).Text) = UCase(asTests(i)) Then
bFound = true
Exit Do
end if
grdTests.MoveNext
Loop
If Not bFound Then ' If one test is not found, then the whole checkpoint fails.
bSuccess = false
Exit For
end if
Next
I have an array of expected values. I intermittently get this error on the MoveFirst method call. This makes for a fairly brittle test. It makes me sad! (joking around a bit.) Anyone have any thoughts?