![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jan 2005
Posts: 3
Rep Power: 0
![]() |
SSTab Control
Hi anyone can give me some idea in this issue? I want to call the data from the database then display in the Tab by using VB, but for example the data in the database have 10 row, for the first 5 row I want to display it in Tab(0) and the rest 5 row will display in the Tab(1). This action will done in the Form_Load side that mean when I load the project the data will display in the tab automatically. Anyone can give me some idea? Thanks.
|
|
|
|
|
|
#2 |
|
Newbie
Join Date: Oct 2005
Location: Richardson - Good ol' Telecom Capital of the World
Posts: 3
Rep Power: 0
![]() |
Your loop will iterate corresponding to a matrix (2-dimensional) array. I would begin by taking your database fields that you want to link to this SSTab control, map them out on paper, then create several loops using the SSTab1.tab(LCV) switch to change the active tab. Create the controls you want to use to display the data in each part of the SSTab and then iterate through, assigning the values to each of the textboxes, etc. Put this in a form_initialize routine which is to be called by the form_load event:
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|