- see footer for list info -<
Ah hah, simple. Thanks stephen. So basically I am creating a query, gotcha (tho the term query for tablature result sets seems symantically incorrect to me, confusing).

Stephen Moretti wrote:

- see footer for list info -<

dominic watson wrote:

- see footer for list info -<


Is it possible to have an array of a structure? At the moment i have a structure that contains arrays, i.e.

[snip]
Are you aware that a struct of array is actually a query?

Is this possible in cf?


Yes - Just create an array and assign a struct to the slot in your array.

thisArray = arraynew(1);
thisRecord = StructNew();

thisRecord.field1 = 123;
thisRecord.field2 = 'abc';

thisArray[1] = thisRecord;

WriteOutput(thisArray[1].field1);


Regards

Stephen

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-

- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<



_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to