main logo
Subject: Re: AfterNew receives CBNewID()
Author: Bhavbhuti Nathwani
Posted: 2001/11/06 06:15:49
 
View Entire Thread
New Search


<i><font color="#663300">Hi Bhavbhuti,

I believe OnNew() calls SetNewPK which populates the key field with the default value in the database. Why do you want to do this?</font></i>

Hello Pamela

The reason I wanted to do this was to remove the call completely from the view and as the table is not allowed due to the pattren of development.

This would free me from making changes to the table and any future corruption in the view (I could just rebuild it with minimum effort) and as my call is in the BO code, something we are all (at least me) comfortable with. Rahter than a lot of visual clicks.
Regards
Bhavbhuti
 
©2001 Bhavbhuti Nathwani
<-- Prior Message New Search Next Message -->