I know this has been brought up, and I have tried EVERYTHING to solve this problem, but it still wont work.
I have tried DoCmd.OpenForm "SalesWon", , , "LeadID = " & Me.LeadID
but I might be doing it wrong. I dont know.
Open Add/EditRecords
And if you go down to the Lead Information section you will see the Disposition combo box. And if you choose 'Won', 'SalesWon' form should pop-up. I made 3 or 4 records for 'SalesWon'. As you can see 'SalesWon' and the 'LeadInformation Subform' are connected by 'Lead ID' field. If there is a record in the 'SalesWon' form that has the same 'Lead ID' field as the subform, I want that record to show. If there are no matches, I want the form to open to a new record. Thanks.
I have tried DoCmd.OpenForm "SalesWon", , , "LeadID = " & Me.LeadID
but I might be doing it wrong. I dont know.
Open Add/EditRecords
And if you go down to the Lead Information section you will see the Disposition combo box. And if you choose 'Won', 'SalesWon' form should pop-up. I made 3 or 4 records for 'SalesWon'. As you can see 'SalesWon' and the 'LeadInformation Subform' are connected by 'Lead ID' field. If there is a record in the 'SalesWon' form that has the same 'Lead ID' field as the subform, I want that record to show. If there are no matches, I want the form to open to a new record. Thanks.