Hi Peter,
Quote:
> I do wish Microsoft would draw attention to these problems or better still
> find a *fix* for them.
This particular one will probably never be fixed because MS considers DDE as
totally out-dated and on its way out. Never mind that it's the data
connection method that provides the most flexibility and easiest way to
bring across data formatting...
You can tell 'em you'd like them to pay more attention to it:
Quote:
> As you
> will see this question was sent to two groups simultaneously. You have
> responded from vba.beginners and it and your reply both show up on my
folder
> for that group.
Actually, I'm seeing (and replying) from within the mail merge newsgroup.
Haven't been by vba.beginners for a few days, now... (time constraints).
I've never used Outlook Express as my newsreader (I have Virtual Access), so
I don't know all of OE's settings or capabilities. But any newsreader worthy
of the designation is able to "suppress" picking up the duplicates from
"cross-posting" (that's what it's called when you post to more than one
group in one action). And that's the reason cross-posting is preferred over
multiple, single messages: you see everything in one "message thread",
rather than having to chase all over the place to keep track of a
conversation :-)
Quote:
> "Getting invalid results from If...Then...Else". I made a reply to your
> showing. As you haven't replied I assume it has not reached the group
> server.
Actually, I'm seeing both your posts, and my reply to your first one. There
were some problems with the Newsgroup Servers over last weekend and early
this week. Many OE users have had to reset their newsreaders. I don't know
how to do that, but someone in an OE group could tell you. Meanwhile, I'm
copying my reply, here, below my sig.
Note that it's comparatively short and doesn't address all the points in
your original message. because I've given you a new line of approach to look
at (especially after I saw the DDE vs. ODBC question).
Note that anything sent to me via email, even if I don't delete it right
away, may never get answered. I answer questions posted here BEFORE I answer
anything that comes over email. And if I'm busy (which I very much am), I'll
never get around to them. (Except for paying consultant clients, of course)
Cindy Meister
INTER-Solutions, Switzerland
http://www.*-*-*.com/
http://www.*-*-*.com/
http://www.*-*-*.com/
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
Hi Peter,
Quote:
> I am not aware of any table or query being created by my code. Records
are
> selected from the database table as per the criteria defined in:
> ActiveDocument.MailMerge.DataSource.QueryString="SELECT * FROM MyTable
> WHERE.... ORDER BY MyField". The relevant MERGEFIELDS are then inserted
> into the Main document.
Well, then you're merging to an Access table. But my observations remain the
same as to what possibilities you have for creating a text data source.
Access-specific question (such as how you do what I suggested) need to be
asked in an Access-specific newsgroup, as I don't have all the details
present in my head to type out.
Quote:
> I still have one very
> peculiar problem using DDE. The following is the (relevant) coding in the
> Main document:
> { ASK RedDat "Please key the Redemption Date - format dd/mm/yyyy" \d
> "Nothing entered" \o }
When I get to this point in your project description, I have to say: "You're
really making it {*filter*} yourself." I don't think the problem here is with
DDE. I think it comes from Word not being very reliable when it comes to
comparing/handling dates.
My recommendation is to stop and take a "think-break". If I were in your
position, I'd be looking at doing this whole thing with VBA, no mail merge.
That will take care of the odd records stuff you've been running into, as
well as the one-to-many relationships.
If you're interested in that, you'll find WdAcc97.zip on my website, as well
as the following article with the download sample useful. (To access this
you need to sign up for a free, one-month trial subscription)
http://www.*-*-*.com/
Cindy Meister
INTER-Solutions, Switzerland
http://www.*-*-*.com/
http://www.*-*-*.com/
http://www.*-*-*.com/
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)