Thanks, this is exactly what my brain was striving for -it [my brain] has a
detailed knowledge of arrays and only a topical knowledge of structures, your
explanation really clarifies it for me.
Luckily the setup I'm working with has a built in unique numeric identifier so I
won't have to use CFID/CFToken
Thanks! Your example is a huge help :-)
: David Nesbitt
: Web Production Specialist
: (e) [EMAIL PROTECTED]
> I think maybe you want a Structure of Structures (SOS... get it? sorry...)
>
> Seriously, I would use nested structures here because then you can access
> any user's preferences directly. An array of structures wouldn't let you do
> this because you would have to loop through the array to find the struct
> relating to a given users.
>
> Thankfully, I love using nested structures, so I am well suited to help you.
> The only thing that you need is some sort of unique identifier for each
> user... the concatenation of CFID and CFTOKEN *should* work, but I've never
> tried it.
....snip.....
> If you were to use an array of structs then you would have to know which
> array element a given user's preferences lie in before you can access the
> prefs. Using the SOS method all you need to know is their ID.
>
> I hope that makes some sense. If you need any clarification please let me
> know.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.