Hi, I want to use validate() to check an object before I update it or add it to the database.
For updates everything works as expected. Unfortunately since the object has an identity primary key it must be empty when adding and validate gives an error. Is there a way around this? Or do I just ignore this error in this situation? Kevin Roche ---------------------- User Group Manager Thames Valley CFUG UK Come along to TVCFUG on 23 August to hear Michael Smith of TeraTech talk on "What makes a smart coder?". http://www.ukcfug.org ---------------------- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
