RE: [PHP-WIN] ODBC to Access with Autonumber Field

2001-11-21 Thread Pablo Marugán
OTECTED] > Asunto: [PHP-WIN] ODBC to Access with Autonumber Field > > > Hi, > > Does anyone have an example of Inserting a record to a table in an Access > database where one of the fields is an Autonumber field, and most > importantly, retrieving the value of the newly inserte

[PHP-WIN] ODBC to Access with Autonumber Field

2001-11-21 Thread Greg Sohl
Hi, Does anyone have an example of Inserting a record to a table in an Access database where one of the fields is an Autonumber field, and most importantly, retrieving the value of the newly inserted Autonumber field? I'm looking for the equivilant of mysql_insert_id() for ODBC. Thanks. Greg Soh