Ernest,

    Looking at your code I'm guessing that the datagrid
"useraccountID" is not populating. It could be because it looks like
you are using useraccountID in two different contexts.
     The first "var useraccountid =
AppUsers.selectedItem.USERACCOUNTID;", you are setting the variable
for use as a parameter being passed to your cfc in the last rown of
the function.
     The second use is as the name of the datagrid. It's possible that
the flex engine is getting confused.
     Something I also did with my remote calls was to set my controls
into scope. For example, if you have a couple of textboxes in your
form named "firstName" and "lastName" I would set them up with the
following declaration:

     var firstName = firstName;
     var lastName = lastName;

     This ensures that all of your controls are seen by the engine as
being on the root level. You can also call controls like
_root.firstName and _root.lastName. So potentially the flex engine is
seeing the remote results set on the _root level and tries to find the
datagrid, but can't because it believes that it's on another level. It
doesn't throw an error, but your results don't appear either.

    One other thing to remember is that when assigning your results
column names to the "dataField"?, in your gridcolumn, the case must
match that of the returned results set. I sort of remember that Oracle
results are returned in all Upper Caps. The flex engine won't throw an
error in this case, but it won't display the results either. Hmm, that
seems to be a trend in Flash Forms.

    I don't claim to be an expert, but I spent many nights pondering
the very same issues. :>).
    Hope that this helps.

Mark Forsberg
Gulf Coast Regional Blood Center

P.S. If you like doing remoting and you haven't tried Flex 2 I'd
recommend that you take a look at it. It's the bomb. I don't have much
love for the Flex Builder 2 IDE (It corrupted today and can't see my
projects. The reinstall is tomorrow), but Flex itself is awesome.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit http://groups.google.com/group/houcfug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to