Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7348 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a student enrollment database & layout from which I have to create a MS Word confirmation letter. Once we have enrolled someone in a workshop, I want FMP6 to tell MS Word to create a new document from a template, and to fill in merge fields with info from the database, such as student name, workshop name, dates, and so forth.

I know basic Applescripting but very little about MS Word. I need a suggestion as to the general approach, rather than being given the code. (I can do the legwork once I have the general approach.) Word can, I've read, pull merge data from a FM database, but it's not clear to me how my FM-driven Applescript would communicate to Word the criteria for selecting the requisite record (Person) and related records (Enrollments, Workshops). At least, I think that's where my blind spot is.

I could spend hours reading Word documentation but if someone could outline, in three minutes, what I need to do I'd greatly appreciate it!

Thanks for your consideration,

Chap

Posted

If you're using Word vX and FMP 6, there is a way to do this from within Word. Go to the tools menu and look for the data merge manager. there is a choice to pick a FMP file to use as a data source.

Posted

If you're using Word vX and FMP 6, there is a way to do this from within Word. Go to the tools menu and look for the data merge manager. there is a choice to pick a FMP file to use as a data source.

I have Word vX and FMP 6, and I have found the data merge manager. The problem is that data merge manager wants me to specify the record selection criteria in terms of a constant, rather than a variable of some sort.

Also, I have thus far been unable to use Applescript from FMP to tell Word to open my boilerplate document without it putting me through the same exercise each time of specifying what FM file and fields to use. I realize that, at this point, I'm asking Applescript/Word questions rather than FM questions, and I'll take that to a different forum if necessary, but I think I am missing something fairly simple.

Has anyone been able, with FMP scripting, to tell MS Word to *automatically* fill in a form letter from data fields in the current FM record?

This topic is 7348 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.