[flexcoders] Re: ALEX: AdvancedDataGrid: last row disappears on click

2010-08-16 Thread charliecrystle
no--not yet. should I post code? --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > Do you have any logic that deletes items from the AC? I'd be checking to see > if that code is somehow running. > > > On 8/15/10 9:31 AM, "charliecrystle" wrote:

[flexcoders] AdvancedDataGrid: last row disappears on click

2010-08-16 Thread charliecrystle
I'm about a 9-month Flex programmer; this issue is hampering progress and I've tested it a bunch: I have an ADG, with a 1-item ArrayCollection. Both the ADG and AC are instantiated in actionscript. The ADG displays the single row with its data--that's correct. When ADG.editable is set to "false",

[flexcoders] ALEX: AdvancedDataGrid: last row disappears on click

2010-08-15 Thread charliecrystle
I'm about a 9-month Flex programmer; this issue is hampering progress and I've tested it a bunch: I have an ADG, with a 1-item ArrayCollection. Both the ADG and AC are instantiated in actionscript. The ADG displays the single row with its data--that's correct. When ADG.editable is set to "fal

[flexcoders] Re: Clearing datasource for ADG/ArrayCollection/ Getting unwanted Duplicates

2010-02-11 Thread charliecrystle
bump --- In flexcoders@yahoogroups.com, "charliecrystle" wrote: > > Hi--I populate an ADG from a SQLite database. Works great. > > But I when I add a record, I want to repopulate the ADG with the data I just > added, so I call the query function again, populate

[flexcoders] Clearing datasource for ADG/ArrayCollection/ Getting unwanted Duplicates

2010-02-11 Thread charliecrystle
Hi--I populate an ADG from a SQLite database. Works great. But I when I add a record, I want to repopulate the ADG with the data I just added, so I call the query function again, populate the ArrayCollection with result.data, and refresh the ADG. My AC is goalsAC. I tried goalsAC.removeAll(),

[flexcoders] SQL COUNT & AIR ISSUE (solved)

2010-01-20 Thread charliecrystle
I had a nasty problem that cost me 5 hours. 5 Baffling hours. Life of a newbie. I wanted to retrieve a simple COUNT from a table, group it by a field "tagname" and display the count of each tagname. I have a number of queries with COUNT that work fine. But not this time. AIR would return zero f

[flexcoders] Re: Problem losing values from query results to RESULT.DATA

2010-01-20 Thread charliecrystle
thanks--same result. --- In flexcoders@yahoogroups.com, Tim Romano wrote: > > What happens if you don't put any quotes around the column aliases? > Tim > > On 1/19/2010 4:55 PM, charliecrystle wrote: > > > > Weird issue: > > > > I have a quer

[flexcoders] Re: Problem losing values from query results to RESULT.DATA

2010-01-20 Thread charliecrystle
fixed--issue was COUNT. Select COUNT(*) fixed the issue... --- In flexcoders@yahoogroups.com, Tim Romano wrote: > > What happens if you don't put any quotes around the column aliases? > Tim > > On 1/19/2010 4:55 PM, charliecrystle wrote: > > > > Weird issue: &

[flexcoders] Problem losing values from query results to RESULT.DATA

2010-01-19 Thread charliecrystle
Weird issue: I have a query that works fine--produces expected results: SELECT COUNT(tagsLU.tagid) as 'tagcount', tag.tagname as 'tagname' FROM TagsLU Inner Join tag on tag.tagid=tagslu.tagid Group By tag.tagname Order By tagcount DESC which produces an array like this: 5 scho