Phillip,

> After I've posted a record to an Acess table with an auto key index field,
> the autokey field returns a 0 value.

This is a problem in Access, even when using VB.  The workaround that I use
is to refresh the dataset.  But then even this has problems, eg with
bookmarks.  Sometimes I use a second table, refresh it and read the key
value from that table - but this has multiuser implications.

I hope that is enough to get you going - sorry I cannot be of more help.

-----------------------------------------------------
Dennis Chuah, BE (Hons) [mailto:[EMAIL PROTECTED]]
Manager, Product Development
Contec Data Systems Ltd. [http://www.contecds.com]
tel: +64-3-3580060 ext-775 fax: +64-3-3588045



---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to