Tony,

Actually, a more preferable way to approach this problem would be to use
a database like Valentina.  Here, the teams and games could be stored in
separate "tables" (collections of data about separate things).  Each row
in your team table would have information about one team, and each row
in the games table would have information about one specific game. (You
would also probably need a third lookup table if this is a many-many
relationship, but I'm not sure of the whole schema.)

Then, your director project could query these tables and sort them out
using any standard SQL sorts.  Something like: 

SELECT * FROM Teams, Games WHERE TeamID = 'theWhatevers' ORDER BY
GameDate

Now, this is assuming you have any idea how a database works, or what
SQL is.  If you haven't the foggiest what I am talking about, I can try
and give you a more detailed explanation of how databases and Valentina
work.  However, I think with a database, the list ordering and sorting
will be infinitely easier.


Brian Romanko
Lead Developer - Neo/SCI Corporation
Member - Greater Rochester Macromedia User Group



-----Original Message-----
Howdy all!

I can't seem to get my brain in gear on this one, so I thought I might
enlist some help.  
I have a list of game dates sorted by team.  I need to access the dates
first by team (a pref given by the user and then by the next upcoming
game, figured by referencing the system date) My issues are as follows:

1)Is a property list with dates nested, the best way to start to attack
this? 

I.E.

dateList = [ #team : "the whatevers", #dates [date_list_goes_here] 

2)Then access by team name?  

3)If so how do I sort the date issue out so as to get the next upcoming
game(or the next two)  to show?

4) Is there another way I'm not thinking of?

Any help is appreciated.  

Thanks,

Tony Eggleston
[EMAIL PROTECTED]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to