OK, I came across this feature today and thought I'd let the community know
as I could not find any written reference to it (dev guide, mailing list,
issuezila, you name it). If this is old news for you, just move on the next
e-mail.
You can set custom initial values for new records (both from add and copy)
by creating a modifyNewRecord procedure in your logic procedure. It uses the
same b_ buffer as all the other pre/begin/end/post procedures, so it
is quite easy to manipulate the values. No more playing with addRow's return
value or foreign keys, all you have to do is create this procedure in your
logic procedure and assign the buffer fields you want. I found it in
Dynamics 1.1 SP2, I don't know about previous version.
HTH
Simi
To unsubscribe, e-mail: dev-unsubscribe@icf.possenet.org
For additional commands, e-mail: dev-help@icf.possenet.org