Hello, I am looking to populate a form with buttons based on the results from a db query..
So lets say, the db query returns: Red, Green, Blue, Purple
I would want vb to create 4 buttons, space them 20 pixels appart, and make the name of the button to correspond to the db query.
So the result would be :
(Red) (Green)(Blue)
(Purple)
(the form only has room for 3 button wide).
thanks for any pointers!
Lee
So lets say, the db query returns: Red, Green, Blue, Purple
I would want vb to create 4 buttons, space them 20 pixels appart, and make the name of the button to correspond to the db query.
So the result would be :
(Red) (Green)(Blue)
(Purple)
(the form only has room for 3 button wide).
thanks for any pointers!
Lee
Last edited: