but generally if the data needs to be ordered use an array, if not use a structure
-----Original Message----- From: Rich Wild [mailto:[EMAIL PROTECTED] Sent: 05 March 2003 15:30 To: '[EMAIL PROTECTED]' Subject: RE: [ cf-dev ] Structure or Array? keep it query form? seems simplest to me. > -----Original Message----- > From: Dave Phipps [mailto:[EMAIL PROTECTED] > Sent: 05 March 2003 15:33 > To: ColdFusion User group > Subject: [ cf-dev ] Structure or Array? > > > > > Hi, > > If I want to build the following data from a query what would > the best > method to use be? > > The data would look something like this: > > storyid = 12345443535 > storyid.journoid = 343223121112 > storyid.journoid = 392482480934 > storyid.journoid = 329084112312 > > storyid = 09098877898 > storyid.journoid = 346546546542 > storyid.journoid = 392478957934 > storyid.journoid = 654654654612 > > and so on. > > Any ideas on the best way to approach this? Should I use > structures or > arrays. The data will be generated from a query. > > Thanks > > Dave > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
