Results 1 to 5 of 5

Thread: How do I edit records in vb6.0

  1. #1
    Join Date
    Feb 2006
    Posts
    4,242
    Rep Power
    0

    Default How do I edit records in vb6.0

    I want to edit data on a form, for the command button I tried
    Adodc1.Recordset.EditMode
    but it does not work;
    what to do?
    I googled but not getting a direct tutorial; can anyone also suggest one
    to deal with this issue?
    |--- www.RealJamaicaEstate.com ™ ---|
    Invest small = small returns [micro enterprise] | Invest Big = returns Big [macro enterprise]
    --- www.fashionsJAMAICA.com ™ -|- www.ChampsJamaica.com

  2. #2
    girldemsuga Guest

    Default

    it sounds like you have binded controls.
    If so i dont not recommend it.

    I edit data in the table by exectuing and SQL Updata Statement.

  3. #3
    Join Date
    Jul 2003
    Posts
    812
    Rep Power
    0

    Default

    Those can be tricky, not quite sure...
    Master Yoda:"Strong with the force TechJamaica is"

  4. #4
    girldemsuga Guest

    Default

    What can be trick
    it might seen had and trick at start but it is basically common sense at a while.
    And further more, i have had nightmare with binding.

  5. #5
    Join Date
    Feb 2006
    Posts
    4,242
    Rep Power
    0

    Default

    I figure out a way; I just setFocus to the first text box to be edited,
    then hit save, but thats one aspect;
    I need it in edit mode so that, when I validate the save click event to check that the primary key is not the same...
    |--- www.RealJamaicaEstate.com ™ ---|
    Invest small = small returns [micro enterprise] | Invest Big = returns Big [macro enterprise]
    --- www.fashionsJAMAICA.com ™ -|- www.ChampsJamaica.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •