oi Ben!!

doh!! heh no wonder i got nuthing. I did get that bit sorted,

This is just an cf app I am in the process of converting the front end
into flash..just for the helluvit.

Thing is it's just a straight stats app. The app parses my ftp's log
files, then just displays the rankings based on that. So there is
really no need for a drill down type system.
_____________________________________________
|   User    |  Group     |   Up   |   Tag   |
---------------------------------------------
|  Frank    |  Sysop     | 1.2 GB |  Owner  |

etc etc...

we also have some outputs like this in the apps we currently develop
at work...so, if we are to move towards a flash front end in the
future, I will have to know how to sort it. This way and the way you
mentioned.

-- 
Best regards,

Critter, MMCP
Certified ColdFusion Developer
 
Crit[s2k] - <CF_ChannelOp Network="EFNet" Channel="ColdFusion">
------------------------------------

Thursday, June 20, 2002, 6:47:04 PM, you wrote:

BJ> Critz,
BJ>         Within your trace you reference cols[j,i].  There's two problems with that.
BJ> For one, to reference a two dimensional array (technically an array of
BJ> arrays in AS), you'd need to reference it as cols[j][i].  The other problem
BJ> is that cols is only a one dimensional array.  It will only return an array
BJ> of the columns names, not the data itself.

BJ> What do you need to display the tabular data for anyways?  One possibility
BJ> would be to have your app show an identifier in a listbox (first & last name
BJ> perhaps) and when the user clicks on the name in the listbox, it will
BJ> populate a set of textboxes that are labeled for each of the columns you
BJ> want to display.  The only downside is that you would only be able to show
BJ> all the data for one column at a time using this method.



BJ> Ben Johnson
BJ> Hostworks, Inc.



BJ> -----Original Message-----
BJ> From: Critz [mailto:[EMAIL PROTECTED]]
BJ> Sent: Thursday, June 20, 2002 4:28 PM
BJ> To: CF-Talk
BJ> Subject: Flash MX and CF (again)


BJ> Ok, so i am working on the table bit...

BJ> it seems a resulting query has these methods:

BJ> RecordSet.getColumnnames
BJ> RecordSet.getLength
BJ> RecordSet.getItemAt
BJ> RecordSet.getItemID
BJ> RecordSet.sortItemsBy
BJ> RecordSet.getNumberAvailable


BJ> I thought I might be able to do something such as:

BJ>                 var cols = result.getColumnNames();
BJ>                 for(var i=0; i< result.getLength();i++){
BJ>                         tables.addRowAt(i+1);
BJ>                         for(var j=0; j< cols.length;j++){
BJ>                                 trace(cols[j,i]);

BJ>                         }

BJ> but it just throws out an undefined. Anybody know how I can get to the
BJ> actual row data???




BJ> --
BJ> Best regards,

BJ> Critter, MMCP
BJ> Certified ColdFusion Developer

BJ> Crit[s2k] - <CF_ChannelOp Network="EFNet" Channel="ColdFusion">


BJ> 
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to