cristalleke
Programmer
Can someone help me??
I have a combo box, I fill it with the data of a buffer (agpSet)
Then I want to show the value of another buffer (agpObjectType), but then he givs an error when I run this page...
stCurrentId = "" + agpSet.getProperty ("ID"
;
nCurrentSetId = Integer.parseInt (stCurrentId);
stCurrentDescription = "" + agpSet.getProperty ("DESCRIPTION"
;
if (nCurrentSetId != nLastSetId)
{
if (!stCurrentDescription.equals ("null"
)
{
choSet1.insert (stCurrentId + " - " + stCurrentDescription, stCurrentId, i);
}
else
{
choSet1.insert (stCurrentId, i);
}
nLastSetId = nCurrentSetId;
i++;
}
}while(agpSet.gotoNext ());
}
choSet1.setValue (agpObjectType.getProperty("SET"
);
I have a combo box, I fill it with the data of a buffer (agpSet)
Then I want to show the value of another buffer (agpObjectType), but then he givs an error when I run this page...
stCurrentId = "" + agpSet.getProperty ("ID"
nCurrentSetId = Integer.parseInt (stCurrentId);
stCurrentDescription = "" + agpSet.getProperty ("DESCRIPTION"
if (nCurrentSetId != nLastSetId)
{
if (!stCurrentDescription.equals ("null"
{
choSet1.insert (stCurrentId + " - " + stCurrentDescription, stCurrentId, i);
}
else
{
choSet1.insert (stCurrentId, i);
}
nLastSetId = nCurrentSetId;
i++;
}
}while(agpSet.gotoNext ());
}
choSet1.setValue (agpObjectType.getProperty("SET"