You want to use the datediff function and the check this integer.
There is a rather detailed example of doing this, as it might be used for a call back routine in a contact managment setting at - along with an example Base database. http://www.oooforum.org/forum/viewtopic.phtml?t=24480 That should point you in the right direction. If you have further questions don't hesitate to ask here on at the forum. HTH Drew Jensen
