I wrote a query called "qyCurrentConstituent"
It selects contents of the current record from the open constituent form.
(ie "fname: forms![fmConstituent]![person first name]" etc)
(SQL looks like this: "SELECT [forms]![persons form]![person salutation] AS Sal, [forms]![persons form]![person first name] AS fname" etc)
The query works and responds with details of the active record.
I then want to send that person a letter in Word.
I go to mail merge, and want it to use this query as the data source.
When I open data sources, select the database, it shows a list of queries and tables. This query; qyCurrentConstituent is not in the list. A number of other queries are left out too - I can't see what they have in common.
I had this set up before - did I do something different for it to work last time?
Thanks in advance
It selects contents of the current record from the open constituent form.
(ie "fname: forms![fmConstituent]![person first name]" etc)
(SQL looks like this: "SELECT [forms]![persons form]![person salutation] AS Sal, [forms]![persons form]![person first name] AS fname" etc)
The query works and responds with details of the active record.
I then want to send that person a letter in Word.
I go to mail merge, and want it to use this query as the data source.
When I open data sources, select the database, it shows a list of queries and tables. This query; qyCurrentConstituent is not in the list. A number of other queries are left out too - I can't see what they have in common.
I had this set up before - did I do something different for it to work last time?
Thanks in advance