This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C46D9D.ECEF3810
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm trying to figure out a way to write a field's before and after =
update values to a text field on a customized Contact form.

I've got the Item_PropertyChange event catching the name and value of =
the field after it's changed. And I've got writing to the text field =
working. I'm used to the item.OldValue property that's available in an =
Outlook form. But this doesn't seem to be a property of a field from =
vbscript.

The best I can see is that I could capture the values of each of the =
fields I'm interested in into a module variable on the item's Item_Open =
or Item_Read event, then build a case statement in the =
Item_PropertyChange event.

Anyone got any simpler approaches?
------=_NextPart_000_0008_01C46D9D.ECEF3810
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm trying to figure out a way to write =
a field's=20
before and after update values to a text field on a customized Contact=20
form.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've got the Item_PropertyChange event =
catching the=20
name and value of the field after it's changed. And I've got writing to =
the text=20
field working. I'm used to the item.OldValue property that's available =
in an=20
Outlook form. But this doesn't seem to be a property of a field from=20
vbscript.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The best I can see is that I could =
capture the=20
values of each of the fields I'm interested in into a module =
variable&nbsp;on=20
the item's Item_Open or&nbsp;Item_Read&nbsp;event, then build a case =
statement=20
in the Item_PropertyChange event.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Anyone got any simpler=20
approaches?</FONT></DIV></BODY></HTML>

------=_NextPart_000_0008_01C46D9D.ECEF3810--

Re: catch a field's value before and after it is updated by Joe

Joe
Tue Jul 20 02:21:59 CDT 2004

"Gordon Prince, MCP" <gprince@tekhelps.com> wrote in message
news:uiZy7ecbEHA.1644@tk2msftngp13.phx.gbl...
I'm trying to figure out a way to write a field's before and after update
values to a text field on a customized Contact form.

I've got the Item_PropertyChange event catching the name and value of the
field after it's changed. And I've got writing to the text field working.
I'm used to the item.OldValue property that's available in an Outlook form.
But this doesn't seem to be a property of a field from vbscript.

The best I can see is that I could capture the values of each of the fields
I'm interested in into a module variable on the item's Item_Open or
Item_Read event, then build a case statement in the Item_PropertyChange
event.

Anyone got any simpler approaches?

Try the defaultValue property.

--

Joe