Results 1 to 5 of 5

Thread: Editable MSHFlexgrid and straight update to database

  1. #1

    Thread Starter
    Hyperactive Member Apek's Avatar
    Join Date
    Aug 2002
    Location
    Kg Melayu,2 33 °N,102 10 °E
    Posts
    283

    Editable MSHFlexgrid and straight update to database

    How to create an editable msHflexgrid and what has been edited is update to the database...anyone has done that before?
    "The reason you see open source there at all is because we came in and said there should be a platform that's identical with millions and millions of machines."
    Get it HERE


    Regards..
    Apek

  2. #2
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Editable MSHFlexgrid and straight update to database

    U may use another control like the (bound) datagrid control that supports that.

    Whith MSHFlexGrid it is a complex thing. U need to do everything urself. Like Place a textbox, move the textbox around so that it looks like u r editing the cell etc., then update the value to database using query or recordset.

  3. #3
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Editable MSHFlexgrid and straight update to database

    MartinLiss has some code that lets you edit the cell itself, but I like using a floating textbox, which I learned from szlammy. Look for flexgrid and szlammy for examples.

  4. #4

    Thread Starter
    Hyperactive Member Apek's Avatar
    Join Date
    Aug 2002
    Location
    Kg Melayu,2 33 °N,102 10 °E
    Posts
    283

    Re: Editable MSHFlexgrid and straight update to database

    Quote Originally Posted by dglienna
    MartinLiss has some code that lets you edit the cell itself, but I like using a floating textbox, which I learned from szlammy. Look for flexgrid and szlammy for examples.
    but i mean MSHFlexgrid..not MSFlexgrid...
    "The reason you see open source there at all is because we came in and said there should be a platform that's identical with millions and millions of machines."
    Get it HERE


    Regards..
    Apek

  5. #5
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Editable MSHFlexgrid and straight update to database

    Oh. Sorry about that. You would have to float a textbox over the cell that you want to change, and then place it in a record set to update it.

    EDIT: Glad somebody like it.
    DOUBLE-EDIT: I see you saw the other thread. ;(
    Last edited by dglienna; May 19th, 2005 at 05:40 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width