Best Place to put CDNewID() if not put in the table or view

Author: Bhavbhuti Nathwani

Posted: 2004-01-08 at 02:55:42

Hi all

Where is the best place to put in the command

replace iid with CBNewID("tablename")

I have considered bo.beforenew()

Any place that is more righter than this. Please note I will be using

this in the parent_bo as well as the child_bo same place. Hope this

does not disturb the auto populating of the child FK.

Please advise.

©2004 Bhavbhuti Nathwani