From: Mojo on
Hi All

I know this is going to sound a bit pants, but I need divine inspiration on
this one!

Basically I have created an app that standalone users use and at a given
point they click a button to export a copy of their work to a central place
so that a tutor can analyse everybody's work in one central entity/app.

Now I took the route of putting the date and time on each export file, as
they will do this export at least 3 times a year (3 school terms) and I
didn't want them overwriting the previous ones. For example, an export
might look like class4-0909142040.xml.

The problem is that the tutor is having to remember to manually put the
previous terms' files into sub-folders so that they are out of the way for
the next batch. If he doesn't the listview my app gives him will show a
confusing list of say 3 or 4 copies of say 8 classes (all with different
dates and times) and he's having to concerntrate to make sure he imports the
right set of 8 classes for the term he's interested in. For example, my
listview (with checkboxes) looks like this:

[ ] class4-0909142040.xml 14 Sept 09 20:40
[ ] class3-0909112136.xml 11 Sept 09 21:36
[ ] class4-0908141640.xml 14 Aug 09 16:40
[ ] class2-0902151435.xml 15 Feb 09 14:35
[ ] class2-0909131710.xml 13 Sept 09 17:10
etc etc

Ideally I'd like to group the files in the listview (appreciate that I might
need to use a diff control) so that the tutor is shown say re the above
example:

[+] Sept 09
[+] Aug 09
[+] Feb 09

and when you click the plus it shows the files within, eg:

[-] Sept 09
[ ] class4-0909142040.xml 14 Sept 09 20:40
[ ] class2-0909131710.xml 13 Sept 09 17:10
[ ] class3-0909112136.xml 11 Sept 09 21:36
[+] Aug 09
[+] Feb 09

Is this possible considering that I read in all of these file names from a
fixed directory and currently use a listview?

Thanks