bug fixes in SqlControls.CheckPos. Refs: #50. It was still possible to generate a TRAP when the mouse was right from the table. It was also possible to select a field after the last row. This latter bug probably also existed in BB1.6.
Signed-off-by: Josef Templ <josef.templ@gmail.com>