TempRec.MARKEDONLY Error using SQL

Hi! Help please. There is a problem[:(]: We have a temporary record. There is also a form for this record. When i try to set markedonly filter (not important from C/Al o from intarface) there is an error 1 in module 43. If using the Native DB option, error is absent, my code works excelent. But i need to do this for SQL… Thanks