Using Microsoft Access and Word Mail Merge with Synapse

Discussion in 'Hardware and Software Tips and Suggestions' started by qilin, Jan 20, 2007.

  1. Jason

    Jason Developer / Handyman Staff Member

    Rich Text in full glory :)

    Attached Files:

  2. qilin

    qilin Member

    Well put. We are having a good start. A lot can be done with this combination.

    I used one of my old database file to do this and didn't change all the buttons, the code of thatexit button was to shut down the databae. You can just delete it from design view, no use of this button here.

    Question for Graham: do you think you can provide your database structural/relationship information? I can guess many of them by looking at the field names and values, but whould be easier if this is available.
  3. Graham

    Graham Developer Staff Member

    the schema is currently undocumented .. if you can't guess a field, ask me...

  4. Jason

    Jason Developer / Handyman Staff Member

    Can't IBOconsole or something of that ilk generate a relationship structure ?
  5. qilin

    qilin Member

    Would be better ifthe Rich Textbox controlis fully compatible with Blob field, meaning you can also edit. Maybe there is a third party one out there, we haven't looked hard enough.
  6. Jason

    Jason Developer / Handyman Staff Member

    I still get sometimes. When it happens I have to close Access and restart it to make it go away.

    Oddly. I can just stop the debugger, return to Access, perform the same steps .. and the Word Document is generated fine.

    I sometimes get "Blank" Word Documents appear when a Word Document is generated. Ie. I get the document intended, plus another instance of Word with no document.

    Attached Files:

  7. qilin

    qilin Member

    I have the same problem. I'm supposed to put some error handling codes in there. But I am not a programmer, so I never bothered looking into solving that and making it perfect.
  8. qilin

    qilin Member

    I must be dozing off when writing that. For your purpose, you absolutely don't need Mail Merge. Using MS Access's own report is much easier and you won't get those error messages due to my buggy Mail Merge solution. I use Mail Merge for consult letters because I like to use Word's instant spell check. Another reason I have to use Office 2003 instead of 2007 is that I have an old verison Stedman's Medical Spellchecker which works with old Office suitesbut doesn't work for 2007.
  9. Jason

    Jason Developer / Handyman Staff Member

    qilin,

    are you still using MS ACCESS to pull Firebird data ?
  10. Jason

    Jason Developer / Handyman Staff Member

    I am thinking about doing my referrals in Word.

    I will need to get this going again.

    qilin, any tips ?

  11. qilin

    qilin Member

    I only use it occasionally now when the receptionist needs to print a consult that wasn't saved in PDF.

    If all you need is a referral form, you may not need Word, you can just create a report in Access and pull the information from the database
  12. Jason

    Jason Developer / Handyman Staff Member

    I rephrase that.

    How are you using Access with Synapse ?

    I do want a MS word copy of my referral letter in my "PaperPort directory" for that patient.

  13. qilin

    qilin Member

    I see. Then you can use exactly the same method we had discussed and follow the steps that I outline in the first post: pull data from the database, use mailmerge to generate a word file and save to your patient folder.

    Alternatively, you can use Access report and print out as a PDF file (using PDF factory or acrobat pro) to save in your patient folder, since the mailmerge codes I posted here is still a little buggy and sometimes you need to click more than once to make it work. This will probably make things easier for you.

Share This Page