Только не Common в int, а Common в boolean.
Во втором случае тоже преобразовние: int в boolean
Чтобы быть уверенным на 110%, пишите
if (table1.RecId != 0) {
...
}
__________________
Not registered yet? Register here!
Have comments, questions, suggestions or anything else regarding our web site? Don't hesitate, send them to me
|