REACH_Num = [value]
Dave,
It is as simple as:REACH_Num = [value]
The single quotes tell the underlying data base that you are attempting to search for a string. So no single quotes means a number or something else.
private function fnCreToolTip(e:ListEvent):void
{
switch(e.type)
{
case ListEvent.ITEM_ROLL_OVER:
{
try{
ToolTipManager.destroyToolTip(myTip);
}
catch(error:Error){}
//creates a tooltip.
myTip = ToolTipManager.createToolTip(cbSearch.dataProvider[e.rowIndex].label,stage.mouseX+10,stage.mouseY) as ToolTip; // array2 is id of arraylist
break;
}
case ListEvent.ITEM_ROLL_OUT:
{
//destroy the created tooltip, so that we can create a new one for others.
try{
ToolTipManager.destroyToolTip(myTip);
}
catch(error:Error){}
break;
}
case ListEvent.CHANGE:
{
//destroy the created tooltip, so that we can create a new one for others.
ToolTipManager.destroyToolTip(myTip);
break;
}
}
}