G
george
Hi to all,
On my Clients form I had a combo box, cboClientSearch,
which I used to locate a specific client. In its
AfterUpdate event I had the following code which worked
fine,
Private Sub cboClientSearch_AfterUpdate()
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.findfirst "[ClientID] = " & str(Nz(Me! _
cboClientSearch], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
Now I have introduced a Tab control in the detail section
of my Clients form and I have moved all Client Info on the
first page of the Tab Control. The cboClientSearch remains
on the detail section but outside the Tab control and...
it no longer works! I get the following error message,
"The expression After Update you entered as the event
property setting produced the following error: A problem
occured while Microsoft Office Access was communicating
with the OLE server or ActiveX Control."
Can someone please give me a clue how to overcome this
problem? I have never used tab controls before and I'm not
sure were to start
Thanks a lot in advance, george
On my Clients form I had a combo box, cboClientSearch,
which I used to locate a specific client. In its
AfterUpdate event I had the following code which worked
fine,
Private Sub cboClientSearch_AfterUpdate()
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.findfirst "[ClientID] = " & str(Nz(Me! _
cboClientSearch], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
Now I have introduced a Tab control in the detail section
of my Clients form and I have moved all Client Info on the
first page of the Tab Control. The cboClientSearch remains
on the detail section but outside the Tab control and...
it no longer works! I get the following error message,
"The expression After Update you entered as the event
property setting produced the following error: A problem
occured while Microsoft Office Access was communicating
with the OLE server or ActiveX Control."
Can someone please give me a clue how to overcome this
problem? I have never used tab controls before and I'm not
sure were to start
Thanks a lot in advance, george