coldfusion struct help
1) I am creating a struct, when doing 'structInsert', getting a error: this key already exists. how to use structkeyexist around the structInsert?
2) the struct can have item from 1 - 6, struct output will look like this:
I need to output the key and value, if items in struct more then 4, need to output to the next line, how can I make a loop count what will stop output struct at 4 (output first line), and continue to output the next 2 struct items in the next line?
Thank you very much for help.