Normal Topic Word Merge Documents (Read 1452 times)
wildwood
Full Member
***
Offline


No personal text

Posts: 156
Location: New York
Joined: Apr 2nd, 2004
Word Merge Documents
Oct 25th, 2004 at 10:10pm
Print Post Print Post  
I am trying to set up a mail merge via Word. Everything works just fine except that Word does not open after I press my "Merge" button. I have to leave Sesame open Word and go to the Sesame Doc to find the retrieved records for print. I guess there is something wrong with my word.bat file.
I am using Windows ME and Word 97.
The word.bat I have is:
c:
cd\program files\microsoft office\office
winword.exe %1
Exit

Is there something wrong with this? I get a message that states:
Too many parameters - files\MSOffice\Office\WINWORD.EXE

Peter

  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Word Merge Documents
Reply #1 - Oct 25th, 2004 at 10:19pm
Print Post Print Post  
I think the problem may be the "space" character in your path.

Add double quotes like this:

c:
cd "c:\program files\microsoft office\office"
winword.exe %1
Exit
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
wildwood
Full Member
***
Offline


No personal text

Posts: 156
Location: New York
Joined: Apr 2nd, 2004
Re: Word Merge Documents
Reply #2 - Oct 25th, 2004 at 11:09pm
Print Post Print Post  
Hey Bob,
Copied and pasted your parameter, but the same effect. My retrieved records opened in the Word merged  document but not automatically. I had to go through Word first to retrieve the document.

Peter
  
Back to top
 
IP Logged
 
wildwood
Full Member
***
Offline


No personal text

Posts: 156
Location: New York
Joined: Apr 2nd, 2004
Re: Word Merge Documents
Reply #3 - Oct 25th, 2004 at 11:35pm
Print Post Print Post  
Bob,
With a little more fine tuning I got it to work!!!
Thanks a bunch!

Peyer
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Word Merge Documents
Reply #4 - Oct 26th, 2004 at 2:34am
Print Post Print Post  
Glad to hear that wildwood....

Can you let us know what you did for fine tuning?
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged