C
=C-Black=
Hi All,
My database was divided into frontend and backend. However for the same
copy of the frontend database using in the different client computer in my
company the query return different result. All the computer in my company
is using Access 2K. And there is the code
Dim rst As New Adodb.RecordSet, strSQL As String
....
....
strSQL = "Select Top 1 RCNNo From dbInfo " & _
"Where ((RCNNo) Like '012-RCN-####') " & _
"Order By RCNNo DESC;"
rst.Open strSQL, CurrentProject.Connection
If rst.BOF = True And rst.EOF = True Then
Define_ID <--- Another Function
Else
Me.RCNNo = rst.Fields("RCNNo")
End If
.....
....
For the same code above and doing same Query, some of computer was error
because of either EOF or BOF is True. But other computer is work well. I
don't understand why it will happen. Would anyone of you help me slove this
problem. Thank you
My database was divided into frontend and backend. However for the same
copy of the frontend database using in the different client computer in my
company the query return different result. All the computer in my company
is using Access 2K. And there is the code
Dim rst As New Adodb.RecordSet, strSQL As String
....
....
strSQL = "Select Top 1 RCNNo From dbInfo " & _
"Where ((RCNNo) Like '012-RCN-####') " & _
"Order By RCNNo DESC;"
rst.Open strSQL, CurrentProject.Connection
If rst.BOF = True And rst.EOF = True Then
Define_ID <--- Another Function
Else
Me.RCNNo = rst.Fields("RCNNo")
End If
.....
....
For the same code above and doing same Query, some of computer was error
because of either EOF or BOF is True. But other computer is work well. I
don't understand why it will happen. Would anyone of you help me slove this
problem. Thank you