myRequest.event.result.length ?? Not sure I understand how to use event.result to get the count of the records returned.
Tracy Spratt wrote: > And avoid using lastResult except for binding. > > > > Instead use event.result. > > > > Tracy > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Iko Knyphausen > Sent: Friday, November 24, 2006 10:43 PM > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] lastResult.records.record.length=null when > there's actually 1 > > > > Does it behave the same if you use "e4x" as resultFormat? > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of pdflibpilot > Sent: Friday, November 24, 2006 5:35 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] lastResult.records.record.length=null when there's > actually 1 > > > > I use the following to get a count of the records returned by > HTTPService request. > > myListRequest.lastResult.records.record.length; > > When theres only 1 the result is null ? Otherwise the count is fine > whenever it is 2 or more. Is this the expected result ?? > > > >