andy_dyer
Registered User.
- Local time
- Today, 21:18
- Joined
- Jul 2, 2003
- Messages
- 806
Hi,
Previosuly I have managed one mail merge and that was pulling info off the form I was on and transplanting it into a word letter...
This one is a little more complicated...
I have two combo boxes
cboPractice
cboGPName
depending on what practice is selected in cboPractice I have got it to show only the relevant GP's in cboGPName.
I want to do a mail merge that picks up the GP Name from cboGPName which is fed by tblGP and the Practice Name & Address that are right for the practice showing in cboPractice which is fed by tblPracticeAddresses.
I can manage to get the GPID by using the code;
.GoTo what:=wdGoToBookmark, Name:="recipient"
.TypeText ([Forms]![frmInput]![cboGPName])
How do I get it to pick up the name column instead of the ID column?
How do I get it to pick up the name and address of the practice from a completely seperate table?
Any suggestions would be gratefully received!!
Thanks
Andy
Previosuly I have managed one mail merge and that was pulling info off the form I was on and transplanting it into a word letter...
This one is a little more complicated...
I have two combo boxes
cboPractice
cboGPName
depending on what practice is selected in cboPractice I have got it to show only the relevant GP's in cboGPName.
I want to do a mail merge that picks up the GP Name from cboGPName which is fed by tblGP and the Practice Name & Address that are right for the practice showing in cboPractice which is fed by tblPracticeAddresses.
I can manage to get the GPID by using the code;
.GoTo what:=wdGoToBookmark, Name:="recipient"
.TypeText ([Forms]![frmInput]![cboGPName])
How do I get it to pick up the name column instead of the ID column?
How do I get it to pick up the name and address of the practice from a completely seperate table?
Any suggestions would be gratefully received!!
Thanks
Andy