|
Hi there Paul
I had a look at it, and I was using it by dynamically
creating the stProperties structure with the fields from source db tables and
calling the relevant type as follows
<cfinvoke
component="farcry.farcry_fincas.packages.types.sc#t#" method="createData" returnvariable="createDataRet"> <cfinvokeargument name="stProperties" value="#stProps#"/> <cfinvokeargument name="user" value="mdrew"/> <cfinvokeargument name="auditNote" value="Created by Import Script from farcry_fincas"/> </cfinvoke> The actual problem I found out was that in
/farcry/fourq/_fourq/createData.cfm, In the insert statement the following
fields were commented out which meant that the insert query method failed when I
was calling it
The datetimecreated, createdby,datetimelastupdated and
lastupdatedby fields are required by the DB
INSERT INTO
#tablename#
( ObjectID, #PreserveSingleQuotes(sqlcol)# <!--- datetimecreated, createdby, datetimelastupdated, lastupdatedby --->) VALUES ( '#objectid#', #PreserveSingleQuotes(sqlval)# <!--- #createodbcdatetime(Now())#, '#getAuthUser()#', #createodbcdatetime(Now())#, '#getAuthUser()#' --->) Currently I am trying to insert the label dynamically but
it seems not to like that! Will have to have a better look
Regards
Mark Drew
----- Original Message -----
--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] |
- [farcry-dev] Re: Dynamic Import Paul Harrison
- [farcry-dev] Re: Dynamic Import Mark Drew
- [farcry-dev] Re: Dynamic Import Mark Drew
- [farcry-dev] Re: Dynamic Import Mark Drew
- [farcry-dev] Re: Dynamic Import Brendan Sisson
