T
Tom
Hi
Any ideas/suggestions on how to achieve the following would be appreciated:
Have a Search form that has various tick boxes which list client criteria &
on clicking on a command button the code behind searches a client table for
clients that meet with the selected criteria & produces a recordsource which
is then used as data source for a mailmerge to a selected document. That
field list is ClientID, Company, Address, Town, County, PostCode. The max
number of records in this recordsource is unlikely to exceed 300.
Within the clients form of that db there is a subform which lists any
contact notes with that client. The recordsource of that subform is a table
called log whose fields are: LogId, ClientID, Date, Note.
What I want to be able to achieve is some code that would take the ClientID
from the 1st recordsource and for each ClientID enter it into ClientID field
of the Log table, today's date in the Date field and the mailmerge document
name in the Notes field.
Using Access 2002
TIA
Tom
Any ideas/suggestions on how to achieve the following would be appreciated:
Have a Search form that has various tick boxes which list client criteria &
on clicking on a command button the code behind searches a client table for
clients that meet with the selected criteria & produces a recordsource which
is then used as data source for a mailmerge to a selected document. That
field list is ClientID, Company, Address, Town, County, PostCode. The max
number of records in this recordsource is unlikely to exceed 300.
Within the clients form of that db there is a subform which lists any
contact notes with that client. The recordsource of that subform is a table
called log whose fields are: LogId, ClientID, Date, Note.
What I want to be able to achieve is some code that would take the ClientID
from the 1st recordsource and for each ClientID enter it into ClientID field
of the Log table, today's date in the Date field and the mailmerge document
name in the Notes field.
Using Access 2002
TIA
Tom