|
-
Apr 12th, 2014, 04:13 AM
#1
Thread Starter
PowerPoster
Transferring listbox items to a textfile for saving.
Hi there folks. I am working on a prog to record what literacy stations students go to during their language arts period. I have a form that gives them choices where they want to go, and they click on the one they want to do. The back end basically just records their choices. Each student has a listbox called Studentchoices. They are in an array of 31, from 0 to 30. I can save the listboxes to text, but what I would like to do is this.
Lets say the students have 3 items in their listbox. Is there a way for when I press a command button to save the items for each student on the same line, perhaps divided by a comma. So it might save it as Choice1, Choice2, Choice 3, etc.
Then the next line of the textfile would have the next student's picks, and it would loop until all 31 students have been recorded in a file called StudentPicks.txt?
I have saved 1 listbox to a textfile before, but not 31 of them. I think it would be handy though, and the students really like going up to pick their choices.
Thanks!!
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
|