YES!! Thank you very much. Changed orderdate and ordert to my field lastupdated and my table detail and this works perfectly. Thank you very much!