HI all
Im am sure this must be simple
I have a client list amd i want to add activities to it.
1. the form is called company list, showing company name (text Filed). i have an add button to add data to the activities table using a form called activities,
This work fine, but i want the field in the activities form to be pupolated with the company name, the field in the activities table is called companyid (text)
I have tried the code
DoCmd.OpenForm "activity", acNormal, , "[companyid] = " & [company list]![company name], acFormAdd, acWindowNormal
Any help