Topic: Commit


master    -- 10-04-2002 @ 11:10 AM
  The complete code
CFTRANSACTION ACTION="BEGIN"

<cfupdate datasource="dgpbd" dbtype="odbc" tablename="desempenho_funcional"
     formfields= "#media#,'#tipo#', '#ano#', '#semestre#'"
CFTRANSACTION ACTION="COMMIT"
/cftransaction
cfif commit EQ "Yes"

This message was edited by master on 10-4-02 @ 11:12 AM


Webmaster    -- 10-04-2002 @ 3:45 PM
  Try this:

CFTRANSACTION ACTION="BEGIN"
cfupdate datasource="dgpbd" dbtype="odbc"  tablename="desf"
formfields= "media, typo, year, sem"
CFTRANSACTION ACTION="COMMIT" /
/cftransaction
cfif commit EQ "Yes"

I simply removes the pounts etc for your formfields, those aren't needed. If it doesn't work, let me know and we'll find you anothe solution!  Smile


Thanks,
Pablo Varando
EasyCFM.COM, LLC.


EasyCFM.COM ColdFusion Forums : http://archive.easycfm.com/forums
Topic: http://archive.easycfm.com/forums/viewmessages.cfm?Forum=12&Topic=23