>R. Matthew,
>
>dateupdate=IIF(TABLEUPDATE(.T.),TABLEREVERT(.T.),DATE())
>
>If dateupdate is a field then you cannot assing to it with the =, you must use the REPLACE command to do this.
As in
REPLACE dateupdate WITH DATE() IIF(TABLEUPDATE(.T.),TABLEREVERT(.T.))
???
Opportunity is missed by most people beacuse it is dressed in overalls, and looks like work --- Thomas Edison