PC Review


Reply
Thread Tools Rate Thread

I can not connect a document to an access prompt query (e.g. includes [What date was it booked?])

 
 
Chris K
Guest
Posts: n/a
 
      9th Aug 2010
I can not connect a word document to an access prompt query (e.g. includes
[What date was it booked?])

The query does not even appear in the list of connections

Is there any work around for this??

 
Reply With Quote
 
 
 
 
David W. Fenton
Guest
Posts: n/a
 
      9th Aug 2010
"Chris K" <(E-Mail Removed)> wrote in
news:vdZ7o.1635$L84.1383@hurricane:

> I can not connect a word document to an access prompt query (e.g.
> includes [What date was it booked?])
>
> The query does not even appear in the list of connections
>
> Is there any work around for this??


Likely the query has an Access function in it that is not accessible
from outside Access. Can you post the SQL of the Access query? That
way we can tell you what in it won't be accessible, and suggest
alternatives (if possible).

--
David W. Fenton http://www.dfenton.com/
contact via website only http://www.dfenton.com/DFA/
 
Reply With Quote
 
Chris K
Guest
Posts: n/a
 
      10th Aug 2010


"David W. Fenton" <(E-Mail Removed)> wrote in message
news:Xns9DCFB471C4B21f99a49ed1d0c49c5bbb2@74.209.136.81...
> "Chris K" <(E-Mail Removed)> wrote in
> news:vdZ7o.1635$L84.1383@hurricane:
>
>> I can not connect a word document to an access prompt query (e.g.
>> includes [What date was it booked?])
>>
>> The query does not even appear in the list of connections
>>
>> Is there any work around for this??

>
> Likely the query has an Access function in it that is not accessible
> from outside Access. Can you post the SQL of the Access query? That
> way we can tell you what in it won't be accessible, and suggest
> alternatives (if possible).
>


SELECT JHPclients.[First Name], JHPclients.[Last Name], JHPclients.Booked
FROM JHPclients
WHERE (((JHPclients.Booked)=[What date are they Booked in?]))
ORDER BY JHPclients.[First Name];

Like I say, it's prompt query - where the database prompts for an entry

 
Reply With Quote
 
Doug Robbins - Word MVP
Guest
Posts: n/a
 
      10th Aug 2010
And that is why it cannot be used. How about initiating the mail merge from
Access, or use an Access report instead?

--
Hope this helps,

Doug Robbins - Word MVP
dkr[atsymbol]mvps[dot]org

"Chris K" <(E-Mail Removed)> wrote in message
news:hR%7o.71368$zT3.26703@hurricane...
>
>
> "David W. Fenton" <(E-Mail Removed)> wrote in message
> news:Xns9DCFB471C4B21f99a49ed1d0c49c5bbb2@74.209.136.81...
>> "Chris K" <(E-Mail Removed)> wrote in
>> news:vdZ7o.1635$L84.1383@hurricane:
>>
>>> I can not connect a word document to an access prompt query (e.g.
>>> includes [What date was it booked?])
>>>
>>> The query does not even appear in the list of connections
>>>
>>> Is there any work around for this??

>>
>> Likely the query has an Access function in it that is not accessible
>> from outside Access. Can you post the SQL of the Access query? That
>> way we can tell you what in it won't be accessible, and suggest
>> alternatives (if possible).
>>

>
> SELECT JHPclients.[First Name], JHPclients.[Last Name], JHPclients.Booked
> FROM JHPclients
> WHERE (((JHPclients.Booked)=[What date are they Booked in?]))
> ORDER BY JHPclients.[First Name];
>
> Like I say, it's prompt query - where the database prompts for an entry


 
Reply With Quote
 
Chris K
Guest
Posts: n/a
 
      10th Aug 2010
Yes - it will have to be an access report i think - thanks

"Doug Robbins - Word MVP" <(E-Mail Removed)> wrote in message
news:i3q4dc$gv$(E-Mail Removed)...
> And that is why it cannot be used. How about initiating the mail merge
> from Access, or use an Access report instead?
>
> --
> Hope this helps,
>
> Doug Robbins - Word MVP
> dkr[atsymbol]mvps[dot]org
>
> "Chris K" <(E-Mail Removed)> wrote in message
> news:hR%7o.71368$zT3.26703@hurricane...
>>
>>
>> "David W. Fenton" <(E-Mail Removed)> wrote in message
>> news:Xns9DCFB471C4B21f99a49ed1d0c49c5bbb2@74.209.136.81...
>>> "Chris K" <(E-Mail Removed)> wrote in
>>> news:vdZ7o.1635$L84.1383@hurricane:
>>>
>>>> I can not connect a word document to an access prompt query (e.g.
>>>> includes [What date was it booked?])
>>>>
>>>> The query does not even appear in the list of connections
>>>>
>>>> Is there any work around for this??
>>>
>>> Likely the query has an Access function in it that is not accessible
>>> from outside Access. Can you post the SQL of the Access query? That
>>> way we can tell you what in it won't be accessible, and suggest
>>> alternatives (if possible).
>>>

>>
>> SELECT JHPclients.[First Name], JHPclients.[Last Name], JHPclients.Booked
>> FROM JHPclients
>> WHERE (((JHPclients.Booked)=[What date are they Booked in?]))
>> ORDER BY JHPclients.[First Name];
>>
>> Like I say, it's prompt query - where the database prompts for an entry

>

 
Reply With Quote
 
Lisa Wilke-Thissen
Guest
Posts: n/a
 
      12th Aug 2010
Hi Chris,

"Chris K" wrote

> Yes - it will have to be an access report i think - thanks


an Access report will be the best solution. But I think using DDE to
connect Access and Word should also work:
http://support.microsoft.com/kb/888697/en-us

--
Greetings
Lisa [MS MVP Word]

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2007: Query; Date Filters; After. Error: Includes date ty Stephen Microsoft Access 0 9th Jul 2009 04:32 PM
Exec a stor.proc. that includes a query to a linked Access db Daniel Microsoft VB .NET 1 28th Feb 2007 03:59 AM
Booked resources in calendar not showing booked JJH Microsoft Outlook 0 1st Aug 2005 01:04 PM
Query in Access that automatically includes new fields =?Utf-8?B?QWFyb24gQ29vcGVy?= Microsoft Access Queries 10 9th Jun 2005 01:46 PM
how to select cells which includes includes date for e.g. 1/1/2003 jerry1480 Microsoft Excel Worksheet Functions 3 30th Oct 2003 03:43 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:45 PM.