Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What's wrong?!

Status
Not open for further replies.

cristalleke

Programmer
Joined
Sep 6, 2002
Messages
1
Location
BE
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"));
 
Try catching the error and see what the error is.
try
{
}
cacth (exception ___e)
{
agScriptHelper.alert("error: " +___e);
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top