On Friday, May 17, 2002, at 11:31 AM, Nathaniel Reed wrote:
> Had a working application, but something has changed which causes save()
> to INSERT a new record when actually it should UPDATE an existing
> record..
The save() method is coded to either insert new
records or update existing records. So your
object must think it's new. Try
foo.setNew(false);
foo.save();
Of course you don't want to do this on an object
that actually is new and doesn't have an id.
Hope that helps.
-Eric
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>