imperator
Archaeologist etc.
- Local time
- Today, 23:39
- Joined
- Feb 28, 2004
- Messages
- 38
Hi all
I have a form which lists records from a search in a datasheet view. I want to open another form based on a selected record from that search. I have achieved this with
DoCmd.OpenForm "frmClient", acNormal, , "[ClientID] = " & Me.frmsubClients![ClientID]
but the client also has enquiries in the search results. How do I select the client AND the specific enquiry too (EnquiryID).
The form I wish to open is the Add/Edit Client form which has a subform of enquiries by the client, so I want to open this Add/Edit form on the correct client (which it does so far) but also on the correct enquiry in the subform.
I hope this is clear.
Ray
I have a form which lists records from a search in a datasheet view. I want to open another form based on a selected record from that search. I have achieved this with
DoCmd.OpenForm "frmClient", acNormal, , "[ClientID] = " & Me.frmsubClients![ClientID]
but the client also has enquiries in the search results. How do I select the client AND the specific enquiry too (EnquiryID).
The form I wish to open is the Add/Edit Client form which has a subform of enquiries by the client, so I want to open this Add/Edit form on the correct client (which it does so far) but also on the correct enquiry in the subform.
I hope this is clear.
Ray