I'm making a accdb query in this function.
Func Get_meaning($adoRs1,$adoCon1,$word1)
$query = "select Sinhala from words where English='"&$word1&"'"
$adoRs1.Open($query, $adoCon1)
$word=$adoRs1.Fields("Sinhala").Value
$adoRs1.Close
return $word
EndFunc
When the $word1 is not in the database, i want to do some modification to the $word1 and recheck in the database. But when the $word1 is not found in the database, script gives an error and exit. Please give me some help