Just by looking at your naming conventions, I'd say double check you have the names right.

According to what you have for the other properties, that line should read:
parentApplication.editAgentUser.userSocial.text = result.social;

but you have it as:
parentApplication.editAgentUser.userSocial.text = result.socialNum;

With the extra word Num on the social property.  Are you sure it's not result.social?

-Tom

On 4/27/06, Jeremy Rottman < [EMAIL PROTECTED]> wrote:
In the user edit section of my application. I have setup multiple tabs.
Under the tabs there are text inputs components that I am trying to
populate. The first tab populates just fine, it is the text inputs on
other tabs that I cant get populated.

I am using this function to populate my text inputs. The input I am
having trouble with is
parentApplication.editAgentUser.userSocial.text. Everything else
populates fine.

     // EDIT AGENT RESULTS
         public function EditAgentPopModeditAgentDisplayQryResult (
result ){
             parentApplication.editAgentUser.userID.text = result.id;
             parentApplication.editAgentUser.userPass.text = result.pass;
             parentApplication.editAgentUser.userFName.text =
result.fname;
             parentApplication.editAgentUser.userLName.text =
result.lname;
             parentApplication.editAgentUser.userAddress.text =
result.address;
             parentApplication.editAgentUser.userCity.text = result.city;
             parentApplication.editAgentUser.userState.text =
result.state;
             parentApplication.editAgentUser.userZip.text = result.zip;
             parentApplication.editAgentUser.userEmail.text =
result.email;
             parentApplication.editAgentUser.userURL.text = result.url;
             parentApplication.editAgentUser.userHPhone.text =
result.hphone;
             parentApplication.editAgentUser.userWPhone.text =
result.wphone;
             parentApplication.editAgentUser.userMPhone.text =
result.mphone;
             parentApplication.editAgentUser.userFax.text = result.fax;
             parentApplication.editAgentUser.userSocial.text =
result.socialNum;

             for (var i = 0;i < phoneDisplayDP.length; i++)
                 {
                   if (phoneDisplayDP[i].data == result.phoneDisplay)
                       {
                       
parentApplication.editAgentUser.userPDisplay.selectedIndex = i;
                       }
                 }

         }





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to