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

Need Help: Displaying Records

P: 72
Hi there, good day! i need some help in displaying my records,,, my assignment is i have to display a database records in a labels.

Its like this in my database i have a table called "SUBJECTS" that is consists of 4 fields, SUBJECT CODE, SUBJECT, TYPE, & UNITS, i have input their all the data for my fields that have unique identifier. My problem i dont know how to display in my form.

No in my form i have several of labels. in each fields like "SUBJECT CODE" i have 14 total labels and the same with my SUBJECT, TYPE, & UNITS. my problem is i dont know how, my professor want that if he click the button namely "GET Subjects" all the subjects must be displayed in a specific labels, if i have 10 subjects, 10 subject code, 10 type & ten units, the output must have 40 labels. can u teach how? i have this code: but am not sure with it:

Expand|Select|Wrap|Line Numbers
  1. If cboSubject.Text = "Tourism" and cboSem.Text = "1 sem" and 
  2.    cboYear.Text = "1st year"  Then
  4. SELECT * From dbTimeSchedule.mdb WHERE PrimaryID Like "T0101*"
(this is the part i'am having difficulty, i dont know how i willl be able to
do display all the records in a specific labels.)

i hope you can help with my project vb masters... hoping for your reply and ideas!!! thank you
May 8 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

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