I was using RDS Dataview from Flex 2 builder, and it created
three CFC files. One of the files named DepartmtGateway.cfc there
is a method as following:
<cffunction name="save" output="false" access="remote">
<cfargument name="obj" required="true" />
<cfscript>
if( obj.getDept_ID() eq 0 )
return createObject("component",
"DepartmtDAO").create(arguments.obj);
} else {
return createObject("component",
"DepartmtDAO").update(arguments.obj);
}
</cfscript>
</cffunction>
What is the syntax from CFM to call this method?
Could anyone point me where I can download the examples, or
any examples is welcome?
Thanks
ps:I am using CompanyInfo.mdb