"день добрый<br><br>не выполняется следующий запрос:<br><br><br><br><br><br>idostatok.Open("SELECT distinct sc178.code as code, 1sconst.value as cena, sc150.descr as typecen FROM sc150, sc178, sc171, 1sconst where (sc178.isfolder=2)and(sc171.parentext=sc178.id)and(1sconst.objid=sc171.id)and(1sconst.id=173)and(sc150.id=sc171.sp172) order by sc178.code ", ADO); <br><br><br><br>ругается на таблицу 1sconst, (Command contains unrecognized phrase/keyword.) помещая данную таблицу в кавычки ругается подругому (Operator/operand type mismatch.) <br><br>в общем не могу обратится к 1sconst, может кто синтаксис подскажет.<br><br><br><br>"