I think there's something wrong in your code. Maybe your connections not 
ready in the time executing statements.

In async mode, you have to wait connection ready, then run statements.

handitan wrote:
> 
> 
> Hi all,
> 
> I posted this question quite a while ago but I just want to bump this 
> thread up to see if anyone has any idea of the issue that I am facing.
> Please read below.
> 
> Thx!
> 
> --- In [email protected] <mailto:flexcoders%40yahoogroups.com>, 
> "handitan" <handi...@...> wrote:
>  >
>  > Hi all,
>  >
>  > Before I present the issue, I am listing my FB and SDK versions:
>  > - FlexBuilder 3.0.2
>  > - AIR SDK 1.5
>  > - Flex SDK 3.3 milestone build.
>  > All the latest good stuffs.
>  >
>  > Now, I have an issue with DB that's connected asynchronously doesn't 
> ALWAYS firing SQLEvent.RESULT or SQLErrorEVENT.ERROR whenever a SQL 
> statement is executed.
>  >
>  > For example:
>  > I got a login screen with login textInput, password textInput, and 
> login button. When the login button is clicked, it does a query to check 
> whether the login and password exist in the DB.
>  > And events will be fired accordingly if it's a success or not.
>  >
>  > HOWEVER, the events don't always fired! Sometimes it fires but 
> sometimes it's not. It's happening intermittently.
>  >
>  > Does anyone else have this issue??
>  >
>  > Btw, I don't have this issue at all when I have my DB opened 
> synchronously. Unfortunately, working with it has some big challenges as 
> well. So if I can get the DB-async to work properly, it will save a lot 
> of time.
>  >
>  > Thx!
>  >
> 

Reply via email to