Thread: Edit Forms

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Location
    Australia, Sydney
    Posts
    12
    Rep Power
    0

    Talking Edit Forms


    Hi everyone,

    I am trying to learn how i would go about running a query against a ms sql database and throwing the returned results into edit box's for editing. Once edited then re-uploaded the edited results into the db.

    Where would i go about learning something like that?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2004
    Posts
    38
    Rep Power
    13
    Read the delphi manual. It's actually quite simple:

    1) Have a query or table defined to get the data.
    2) Place a data distribution element.
    3) Add a DBEditBox component.

    Then when the user edit in the box, it will go to the SQL (if you defined it as Updateable DataSet) and update it.

    Tal

IMN logo majestic logo threadwatch logo seochat tools logo