Subject | Re: [IBO] Duplicate a record |
---|---|
Author | Jason Wharton |
Post date | 2000-12-03T08:34:41Z |
> However I dont think you will want to reset fields with defaultUnder the assumption that the defaults have been applied to the original
> values - since these are really only there to fill fields not
> specified by the user, and I would presume that you will only want to
> copy a record that has already been filled in (and/or defaults
> applied).
record this sounds like the right way to do this.
> It would also be convenient to provide an AfterDuplicate event toOnNewRecord would be such an animal. I suppose a person may want to
> allow the developer to provide duplication specific initialisation.
distinguish between a normal insert and a duplicate insert so I could add a
flag property to allow for that.
How does that sound?
I'd rather add a public read-only property than a published read/write
event.
Any others?
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com