main logo
Subject: Just before saving a new record
Author: Miguel ¿ngel Guerrero
Posted: 2002/10/07 13:20:38
 
View Entire Thread
New Search


Hello everybody:

When adding a new record, I need to fill some fields just when the record is saved. The data is an invoice number, and I'm trying to use the same CBNewID() function, but I must get the number when the record is saved, not when it's added.

I can't use <b>obizibj.beforesave()</b> because I need to fill the field just when adding a new record not if I'm saving modifications. Exists any method for doing so?

Or, exists any method like <b>.IsNewandEmpty()</b> but just asking for <b><i>IsNew</i></b>?

Thank you.
 
©2002 Miguel ¿ngel Guerrero
<-- Prior Message New Search Next Message -->