Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1017
  • Last Modified:

TUPDATESQL - SOMEBODY HAVE EXAMPLE HOW TO USE THAT COMPONENT.

I´m building a program using TUPDATESQL, but I don´t know how make anyupdate on bd by this component.

here is the sentence sql build by the component TUPDATESQL.
//////////////////////////////////////////////
update TB_USER
set
  ID = :ID,
  USER= :USER,
  PASSWORD = :PASSWORD,
  NAME = :NAME,
  PHOTO = :PHOTO
where
  ID = :OLD_ID
/////////////////////////////////////////////

How this code is going to work if I have dbfields on the form1, like DBUSER OR DBPASSWORD AND IN OTHER DIFERENT FORM (Costumer Data Module) I have TQuery, TDataSourc, TUpdateSQL and Database1 Components.

If you have any example how to use TUpdateSQL, Plese Send me in my e-mail: <<email removed

kretzeschmar
Page Editor
>> or put the link here.

Thanks so Much for help me.
0
rafaelrgl
Asked:
rafaelrgl
  • 2
1 Solution
 
kretzschmarCommented:
usual the TUpdateSQL is linked as an updateobject to a TQuery,
where its cachedupdates are set to true

digging for a sample . . .

meikl ;-)

0
 
kretzschmarCommented:
phew, i shall do what i provide ;-)

visit this link
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_11297937.html

there is a good description from workshop_alex

meikl ;-)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now