EasyCFM.COM ColdFusion Forums / Coding Help! / Commit

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: Commit

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

master
10-04-2002 @ 11:10 AM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 2
Joined: Oct 2002

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
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4542
Joined: Jan 2002

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.


Website Designed and Developed by Pablo Varando.