Hi
i need yuor help, Im trying to add items to a combobox,I am programing that with C# I can only add the last record of my query, I am using infopath 2007
this is the code:
string xpath = "/my:myFields/my:field2";
XPathNavigator field2 = MainDataSource.CreateNavigator().SelectSingleNode(xpath, NamespaceManager);
y = 0;
for (x = 1; x <= 5; x++)
{
y=y+1;
field2.SetValue("New Value" + y); // Write
}