Hi Erica, Once the result from your cfc is returned to Flex, you can get the record count by looking at the length property of the variable that the result is cast.
var recordCount:Number; recordCount = myDataGrid.dataProvider.length; or recordCount = myArrayCollection.length; If you are looking for just the record count, without the result, you would have to create a seperate cfc to return just the record count. -TH --- In [email protected], "Erica" <[EMAIL PROTECTED]> wrote: > > Hey what is the best practice, for outputting a cfc's recordcount to > flex? Syntax would also be helpful... Erica > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

