Dynamic Table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eddyman592
    New Member
    • Apr 2007
    • 20

    Dynamic Table

    I'm new to VB, so I have no idea how to do this...

    You know that table in the settings tab of the My Project panel in VB? You know how if you start typing in a row, i automatically makes a new row beneath it? How does one do that?

    For those who don't know what I'm talking about, What I want to do is have the user type something in a row with multiple columns, and when they start typing, a new row appear beneath it so they can add more. After they've added all the data they want to, it would be nice to have the program work it's way through the rows, added the data to user has input to a database.

    I know how to do all the database stuff, i just need to know how to do a table like that.

    Thanks!
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Given one of the plethora of grid controls, it should be relatively simple to insert code in the "user changed the data" event procedure to say "if editing the last row, add a row".

    Can't really go into detail without knowing more about version of VB, what grid control, and so on. They have different properties, events, methods...

    Comment

    Working...