No post inicial esta o select.
Mas segue novamente:
odbc): select count(*) from PUB.item where "it-codigo" <> '' and "it-codigo" <> '.'
(odbc): SELECT "desc-item" as sc_field_1, "it-codigo" as sc_field_0, un from PUB.item where "it-codigo" <> '' and "it-codigo" <> '.' order by "desc-item" asc, "it-codigo" desc WITH (NOLOCK) asc
S1000: [DataDirect][ODBC Progress OpenEdge Wire Protocol driver][OPENEDGE]Syntax error in SQL statement at or about "NOLOCK) asc" (10713)
ADOConnection._Execute(SELECT "desc-item" as sc_field_1, "it-codigo" as sc_field_0, un from PUB.item where "it-codigo" <> '' and "it-codigo" <> '.' ..., false) % line 1085, file: adodb.inc.php
ADOConnection.Execute(SELECT "desc-item" as sc_field_1, "it-codigo" as sc_field_0, un from PUB.item where "it-codigo" <> '' and "it-codigo" <> '.' ..., false) % line 1391, file: adodb.inc.php
ADOConnection.SelectLimit(SELECT "desc-item" as sc_field_1, "it-codigo" as sc_field_0, un from PUB.item where "it-codigo" <> '' and "it-codigo" <> '.' ..., 17, 0) % line 537, file: ratweb_item_con_grid.class.php
ratweb_item_con_grid.inicializa() % line 86, file: ratweb_item_con_grid.class.php
ratweb_item_con_grid.monta_grid(0) % line 1366, file: ratweb_item_con.php
ERRO
Erro ao acessar o banco de dados
[DataDirect][ODBC Progress OpenEdge Wire Protocol driver][OPENEDGE]Syntax error in SQL statement at or about "NOLOCK) asc" (10713)
SelectLimit(SELECT "desc-item" as sc_field_1, "it-codigo" as sc_field_0, un from PUB.item where "it-codigo" <> '' and "it-codigo" <> '.' order by "desc-item" asc, "it-codigo" desc WITH (NOLOCK) asc, 17, 0)
Script: C:\Program Files (x86)\NetMake\v6\wwwroot\scriptcase\app\RATWEB_IW\ratweb_item_con\ratweb_item_con_grid.class.php (541)