By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,649 Members | 696 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,649 IT Pros & Developers. It's quick & easy.

Dynamic Table

P: 20
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!
Apr 23 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 5K+
P: 8,434
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...
Apr 24 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.