> The method I described is to open a differnet form based on some criteria.
> However, I now suspect that you are just trying to move to a different
[quoted text clipped - 66 lines]
> > > > > > Thanks in advance.
> > > > > > Kirk
OK, so let's suppose you have a field called ClientID that is the primary key
for each client, and another field called RelatedClient that holds the
ClientID
number for some other client, each with an associated text box control on
your form. All you should need is some code like this in the On Click event
of your button;
Private Sub cmdYourButton_Click()
With Me.RecordsetClone
.FindFirst "[ClientID]=" & Me![RelatedClient]
If Not .NoMatch Then
Me.Bookmark = .Bookmark
End If
End With
End Sub
The above code assumes that ClientID and RelatedClient are integer values.
If they are text, then you will need to add qoutes in the code.

Signature
_________
Sean Bailey
> Hi Sean,
>
[quoted text clipped - 78 lines]
> > > > > > > Thanks in advance.
> > > > > > > Kirk
IKMD66 - 15 May 2008 19:42 GMT
Sean - You're a star.
Many thanks for your assitance - your logic provides exactly what is required.
Best Regards,
Kirk
> OK, so let's suppose you have a field called ClientID that is the primary key
> for each client, and another field called RelatedClient that holds the
[quoted text clipped - 99 lines]
> > > > > > > > Thanks in advance.
> > > > > > > > Kirk
IKMD66 - 15 May 2008 19:53 GMT
Sean,
If I may ask one more question. How do I prevent the runtime error "(3077)
syntax error (missing operator) in expression", if the button ie pressed when
no related record is maintained - in this case I do not want anything to
happen - simply, perhaps a message stating "Related Client not maintained."
I have detailed the programming below.
Private Sub GOTO_Click()
With Me.RecordsetClone
.FindFirst "[Client ID]=" & Me![Related (Primary) Client]
If Not .NoMatch Then
Me.Bookmark = .Bookmark
End If
End With
End Sub
Thanks again.
Kirk
> OK, so let's suppose you have a field called ClientID that is the primary key
> for each client, and another field called RelatedClient that holds the
[quoted text clipped - 99 lines]
> > > > > > > > Thanks in advance.
> > > > > > > > Kirk
IKMD66 - 15 May 2008 21:29 GMT
Sean,
No need to review. I found another post that let me check if the field is
null.
Thanks again.
Kirk
> Sean,
>
[quoted text clipped - 120 lines]
> > > > > > > > > Thanks in advance.
> > > > > > > > > Kirk