get lastID
<!---cfc--->
<cffunction name="add" access="public">
<cfargument name="form" type="struct" required="yes">
<cfquery name="insert" datasource="#request.dsn#" result="returnID">
...insert goes here---
</cfquery>
<cfset variables.newDRD_ID= returnID.IDENTITYCOL />
</cffunction>
<!---cfm--->
<!---insert into table--->
<cfobject type="component" name="request.type" component="#request.cfc#.type">
<cfset variables.addNewType = request.type.add(form) />
after calling the object above to insert into the type, i want to display
an id here and ID is retured from cfc. Can any one show me how to have ID display
in this cfm page?
Thanks
