Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 7th, 2005, 9:12 PM   #1
loveperson88
Newbie
 
Join Date: Jan 2005
Posts: 3
Rep Power: 0 loveperson88 is on a distinguished road
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.
loveperson88 is offline   Reply With Quote
Old Oct 13th, 2005, 10:39 AM   #2
cplusruss
Newbie
 
cplusruss's Avatar
 
Join Date: Oct 2005
Location: Richardson - Good ol' Telecom Capital of the World
Posts: 3
Rep Power: 0 cplusruss is on a distinguished road
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:
cplusruss is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:00 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC