Hi NickH,
Note: you don't mention whether you've tried using a
DATABASE field? I very much recommend you try this, if the
end result you want is a table.
> Yes the data source I am using is a query (signalPassfail)
> from within Access 2002, which I hope is correct.
That should be fine...
> is it possible to use one or more fields for
> sorting without having to have them displayed once the
> merge has taken place?
This is something I'd do in the query? Insert the fields,
set the sorting, and deactivate the "Show" checkbox?
> if I leave the two fields in and run a merge on "All"
> records, it all appears to work, except the data instead
> of appearing in twelve tables (Session ID 1 to 12, I
> obtain one table on 13 pages.
I doubt very much that changing just the fields you include,
or the records to which you want to merge, splits the table.
This is more likely the result of forgetting to specify
CATALOG (DIRECTORY) as the mail merge type?
> I have tried using a table as a source as well, and the
> one thing I ma finding with the data is the demimal place.
Word won't "see" any formatting you've applied to a field,
unless you're using a DDE connection. Then it might,
depending on how the formatting is applied.
But in any case, I'd use a query as the source and apply the
formatting explicitly using an expression. That would look
roughly like this, in a field in the top row of the query
grid:
MergeDecimalField: Format([DecimalField], "0.000")
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep
30 2003)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)
NickH - 04 May 2004 10:57 GMT
Hello Cindy
First of all I have tried the DATABASE Field as suggested
and after a fassion it works, I will show you the String
I have written below, my only concern using this approach
is the Mobility,i.e we have about ten database allocated
to their own Project sub-directories.
This is the string I have used;
{DATABASE \d "S:\\R&D\\EMC\\Product-Project
Tests\\icon\\Statoil Kriston\\Kriston
Hipps2002.mdb"\c "DSN=Ms Access
Database;DBQ=S:\\R&D\\EMC\\Product-Project
Tests\\icon\\Statoil Kriston\\Kriston Hipps2002.mdb;
FIL=RedISAM"\s "Select * From
\ "SignalPassfail\""\f "01"\t "432"\I "3"}
when used in a template, selecting CTRL A and F9 to
update works, the only problem I see with this is the
string would have to be edited for the template to be
used with other databases simply because they have their
own allocated sub-directory's. A problem for me to
resolve.
Secondly, emitting the two fields from the query source
works ok.
Thirdly, on the topic of the table size and producing the
separate tables, I have checked and the document produced
is labled as "catalogue1", and checking the Mail merge
topic area, the select document type is set
to "Directory", which I am assuming is the correct one
since it is the only one I have been using.
The forth and last, I am a little confused here, not so
much with the expression MergeDecimalfield: Format
([DecimalField], "0.000") but where it is used.
i.e in the first query field in the top row the title
is "Freq", so how do I add the expression to this field
Any help here Cindy would be most appreciated.
Tks
Nick
>-----Original Message-----
>Hi NickH,
[quoted text clipped - 49 lines]
>
>.
Cindy M -WordMVP- - 05 May 2004 08:40 GMT
Hi NickH,
> First of all I have tried the DATABASE Field as suggested
> and after a fassion it works, my only concern using this
approach is the Mobility,i.e we have about ten database
allocated to their own Project sub-directories.
>
Perhaps if you told us more about how you need to use these
data tables, we could work out an approach?
do you really NEED mail merge, or is you main interest
simply seeing a table of the data, coming from a query?
> The forth and last, I am a little confused here, not so
> much with the expression MergeDecimalfield: Format
> ([DecimalField], "0.000") but where it is used.
>
> i.e in the first query field in the top row the title
> is "Freq", so how do I add the expression to this field
This is used in the top row, in the first empty column. what
you're doing, in essence, is creating a new "field" for the
query result. The term to the left of the colon will be the
field name, the information to the right calculates the
result you want in the column. After you've created the
expression, you can select the column in the query grid and
drag it to any position you wish.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep
30 2003)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)