Hello All

How do I create an .mxml search page that would consist of two input 
textfields, one for First name and one for Last name, respectively. 
Underneath them will be a datagrid for the results. Now I would like so that 
a user can search just by adding the first initial of either the first name 
or last name, press the submit button, and everyone in my db whose name 
starts with that letter, populates the datagrid?


So far I've created my web service to call my data and that works fine. My 
page looks like this:


<mx:Button click="MY_WebServiceID.GetData.send()" label="Get Data" />

<mx:DataGrid 
dataProvider="{MY_WebServiceID.GetData.result.diffgram.NewDataSet.Customers}" 
 >
<mx:columns>
<mx:Array>
<mx:DataGridColumn columnName="ID" headerText="ID" />
<mx:DataGridColumn columnName="firstName" headerText="First Name" />
<mx:DataGridColumn columnName="lastName" headerText="Last Name" />
<mx:DataGridColumn columnName="Company" headerText="Company Name" />
</mx:Array>
</mx:columns>
</mx:DataGrid>

<mx:WebService id="MY_WebServiceID" 
wsdl="http://localhost/MY_Webservice/MyService.asmx?WSDL"; 
showBusyCursor="true" >
<mx:operation name="GetData" />
</mx:WebService>



Hope I was clear.

Thanks




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to