|
-
Oct 10th, 2000, 09:37 AM
#1
Thread Starter
Fanatic Member
I am creating an app that will keep up with info on my students. I need it to create a new form each time I add a student to my listNewStudent box.
Any help?
Thanks
JO
-
Oct 10th, 2000, 09:56 AM
#2
Here is how you would do it
Dim frmMyStudent As New frmStudent
frmMyStudent.Show
but keeping track of the several frmMyStudent copies is difficult and there is probably a better way to do what you want to do without creating a new form for each student. Please describe what it is that you want to do.
-
Oct 10th, 2000, 10:14 AM
#3
transcendental analytic
You could add them up in a collection
Private students as collection
students.Add New frmStudent
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Oct 10th, 2000, 10:18 AM
#4
Thread Starter
Fanatic Member
The info I'm trying to keep up with is just general stuff. These are music students, voice and guitar. I just want to keep up with: Name, Address, etc.. also instruments they play, past performances, awards, and a few personal notes about them. I thought if I had one form that I could use as sort-of a template, then I could just add the blank form each time I add a student. Also I never have more than 15 students at a time so its not like I will be continuously adding them. I mean that there will be a limit.
-
Oct 10th, 2000, 10:34 AM
#5
You have described the need for a database application. You could create a database like this:
Students
StudentID
Name
AddressLine1
AddressLine2
AddressLIne3
PersonalNotes
Instruments
StudentID
Instrument
Awards
StudentID
Award
etc. And then create a single form that retrieves and or updates the information for students based on StudentID (or perhaps name).
-
Oct 10th, 2000, 02:52 PM
#6
Thread Starter
Fanatic Member
Thanks, I have never worked with Databases in VB but I've been doing some reasearch and I have my forms created and a database created in MS Access. I just don't know how to make it store the info when I enter it into my form. I have all the paths set up; e.g. DataControl, DataFields DataSources etc... I just need it to save the info I type into my form.
I appreciate your help,
JO
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|