Access counter field value during AddNew 
Author Message
 Access counter field value during AddNew


Quote:

>Is there any way to get the value of a new record's counter field during
>the validate event?

Yes, you need to "tickle" the new record after doing your AddNew.
dta.Recordset!SomeField = Something will cause the counter field
to be issued. You can then read it.


Tue, 20 May 1997 01:50:56 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Access counter field value during AddNew

2. Counter Fields - value assigned on Addnew not Update?

3. Checking field values in WillChangeRecord during AddNew

4. Getting the counter value after an addnew-SQL SERVER 2000/ADO

5. Help resetting counter field value?

6. How do I gett the value of autoincrement field after an .AddNew/.Update

7. How to get a field value after and AddNew command SQL 7.0 and VB 6

8. Null value in AUTONUMBER field after MyRS.RECSET.AddNew

9. Change field value during Make Table?

10. Getting the value of an autoincrement or identity field during an sql insert

11. Getting the value of an autoincrement or identity field during an sql insert

12. Counter field in Access 2000

 

 
Powered by phpBB® Forum Software