> How about Replace(foo["bar"], "'", "''", "ALL") Duh, yea, good call there. Would be a good UDF. ;) (FYI, we broke 150 UDFs on cflib.org.) ======================================================================= Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email : jedimaster@macromedia.com Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda