I am using access 2000 for an intranet site, and would like to know how to
get the recordid of a newly created record.
here is the code.
<cfquery
name="AddRecord"
datasource="#DSN#">
INSERT INTO TableName
(FieldName)
VALUES('#Form.FieldValue#')
</cfquery>
I want to be able to display the newly created record, but need the key
value created by the autonumber feature in access.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.