Michael Prochaska wrote:
Michael Prochaska wrote:
OK: after seeing your code its obvious that there is no problem with
the conditional concept but you uses a "fieldvalue" from a databases
table who is not yet conected to the instance where your code is running
from. So the fieldvalues are unknown when running your macro and can
never math the condition. For have your job done there are a couple of
solutions
- use the mailmarge API to do the job when you wanted a printed output
- use a bunch of macro' sto connect to your database, fill the fielsd
with the correct values and make the changes in your document
for both methods there are lots of snipets available on the web
hope it helps
ok, than my test document wasn't accurat enough.
i've already code to connect to the DB, and fill the fields with the values.
i'll send you the testdocs again with this code, if this is ok for you.
OK
thanks very much,
michael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]