A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calculate a future date



 
 
Thread Tools Display Modes
  #1  
Old April 29th, 2004, 09:12 PM
Vanessa Mayfield
external usenet poster
 
Posts: n/a
Default Calculate a future date

I want to calculate a future date based on a date in my database when
I do a mail merge. My database does not have this furture date so I
cannot pull it directly.

Example: The database has a purchase date of 4/22/04. I want the
letter to say "Your vehicle is due for it's first oil change on
07/22/04." I need to add 90 days to the purchase date to get my
future date.

Any suggestions?
  #2  
Old April 30th, 2004, 12:31 AM
Charles Kenyon
external usenet poster
 
Posts: n/a
Default Calculate a future date

Hi,

You'll need a very complex field to do this. You can start by downloading
the document at
http://www.wopr.com/cgi-bin/w3t/show...&Number=249902
which has a number of such fields that you can work with.

See http://addbalance.com/word/datefields2.htm for information on the
different kinds of ways to make a date calculation work. It includes links
to pages with fields and an explanation of different macros that can be used
instead of fields.

BTW, you do not want to post your real email address on these newsgroups.
You become a spam magnet.
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"Vanessa Mayfield" wrote in
message om...
I want to calculate a future date based on a date in my database when
I do a mail merge. My database does not have this furture date so I
cannot pull it directly.

Example: The database has a purchase date of 4/22/04. I want the
letter to say "Your vehicle is due for it's first oil change on
07/22/04." I need to add 90 days to the purchase date to get my
future date.

Any suggestions?



  #3  
Old April 30th, 2004, 03:46 AM
Doug Robbins - Word MVP
external usenet poster
 
Posts: n/a
Default Calculate a future date

You will probably find it a lot easier to use a query in the database with
an expression that returns the future date and then use that query as the
datasource than to try and do this in Word.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
"Vanessa Mayfield" wrote in
message om...
I want to calculate a future date based on a date in my database when
I do a mail merge. My database does not have this furture date so I
cannot pull it directly.

Example: The database has a purchase date of 4/22/04. I want the
letter to say "Your vehicle is due for it's first oil change on
07/22/04." I need to add 90 days to the purchase date to get my
future date.

Any suggestions?


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:57 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.