Hi
Got a question about ComboBox, I am populating a ComboBox with Flash Remoting. Currently I want to pull a Name column from a database. Right now I am populating a dataset. The ComboBox pulls from the dataset. However the Combobox displays the Name column plus two other columns.
How can I send out from the dataset just the Name Column to the ComboBox?
I include some code if it helps.
Thank you
#include "NetServices.as"
var frGatewayURL = "[http://localhost/flashremoting/gateway.aspx](http://localhost/flashremoting/gateway.aspx)";
var frServiceName = "test";
this.onLoad = function() {
NetServices.setDefaultGatewayUrl(frGatewayURL);
var frConnection = NetServices.createGatewayConnection();
var frService = frConnection.getService(frServiceName, this);
frService.getProjects();
}
function getProjects_Result(result) {
//projects is a dataset
projects.dataProvider = result;
}
function getProjects_Status(error) {
trace("-------- Remoting Error ---------");
this.type_txt = error.type;
this.desc_txt = error.type;
trace(error.type);
trace(error.description);
trace("---------------------------------");
}