>>>When doing a mail merge from VFP5 to Word, can I use Word Basic to do calculations on my data inside the document? How?
>>>
>>>Thanks
>>Elyse,
>>You could do it with inserting fields in word. But doing calculations in VFP and writing results is easier. You could use fields and/or toolscalculate in word.basic.
>>Cetin
>
>Do you know how to use the fields and/or toolscalculate to use a function such as DateAdd?
Elyse,
AFAIK there is not a function as DateAdd in word.basic. To implement it I would insert dateformat fields as docvariables, when needed getfielddata$() and convert-calculate in fox then update with new data.
But what is the relation of doing this with mailmerge ? Can't you simply merge date calculations done data ?
Cetin