Re: Mail Merge and Project

Tech-Archive recommends: Speed Up your PC by fixing your registry



My memory of project server is pretty vague, but if it uses a SQL
Server/MSDE database it may be possible to create a View in the database
that does what you need. If so, I don't know whether there is a way to
specify a person's username in the view to give you the results you need,
but /a/ way of doing that within a SQL Server environment would be to create
a view for each user that did the right thing.

Otherwise, Word does not provide a way to specify a GROUP BY clause in its
user interface, but there are a number of ways that the user interface might
be bypassed, e.g.
a. you may be able to create a suitable VIEW in the server and use that as
the data source (as above)
b. if your users happen to have Access installed, it may be possible to
link to your Project Server tables/queries from access, then create the
Access query/queries you need and use those as the data source.
c. you can use Word VBA's OpenDataSource method to connect to a data
source, issuing a short SQL query directly (either around 256 or 512
characters)
d. if you can connect to your data source using ODBC, you can set up an
ODBC DSN and use Microsoft Query to define a suitable query to get your
data.

However, all the above assumes that your merge is based on a table of
records with identical format, i.e. that the result of the SQL SELECT with a
GROUP BY clause is returning a "flat table" of rows. If what you actually
want to do is produce a more hierarchical type of output, where you use
GROUP BY to specify some heading info and a number of "child records", Word
is not designed to do that. Let us know.

Peter Jamieson


"debraholloway" <debraholloway@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7366443F-014A-4C46-891A-618A149B44D8@xxxxxxxxxxxxxxxx
> Help. I want to email using a mail merge. The data is in microsoft
> project
> server. Each person should only get the rows of data that applies to
> them.
> If I were creating the report in Access I would use a "group by"
>
> Can you do a group by with a mail merge? I am open to other suggestions.
> --
> Debra H.


.



Relevant Pages

  • RE: Fulltext failure on a 2 node cluster
    ... Server full-text search resource online: "SQL Cluster Resource 'Full Text' ...
    (microsoft.public.sqlserver.clustering)
  • Re: HELP PLEASE ~ ???
    ... You mentioned that it went ahead and added a SQL ... SQL Server 2000 database for all my data. ... find the connectionString in the newly recreated SQLExpress database. ... The connection string specifies a local Sql Server Express instance ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Multi-Channel Raid VS SAN Storage
    ... A 5~6 years old server is a very old server. ... As I mentioned, the server is one node in a cluster environment, and SQL is ... We actually are running RAID 1+0 and our aplication is definately more ... needs it's own SAN device, or at least a dedicated IO channel on the SAN. ...
    (microsoft.public.sqlserver.setup)
  • Re: Multi-Channel Raid VS SAN Storage
    ... A 5~6 years old server is a very old server. ... As I mentioned, the server is one node in a cluster environment, and SQL is ... We actually are running RAID 1+0 and our aplication is definately more ... needs it's own SAN device, or at least a dedicated IO channel on the SAN. ...
    (microsoft.public.sqlserver.setup)
  • RE: How do I get back to base SQL server on my SBS 2003 server?
    ... After you uninstall SQL 2005, the instance which you upgraded will not go ... Uninstall and then reinstall ISA server. ... Uninstall and then reinstall the Monitoring component. ... Tools to Maintenance, change Monitoring component to Install, and then ...
    (microsoft.public.windows.server.sbs)