Ocorrência | A execução da função DBGOTop() apresentava erro caso a tabela tivesse sido aberta utilizando a função TCGenQry2(). Error : 0 (07001) (RC=-1) - [Microsoft][SQL Server Native Client 11.0]COUNT field incorrect or syntax error ( From tQueryFile::GoTop ) Thread ID [9592] User [Cirilo] IO [2059] Tables [47] MaxTables [48] Comment [CXTESTFUNC - TCPIP - ThreadID(8316)] SP [ ] Traced [Yes] SQLReplay [No] InTran [No] DBEnv [MSSQL/BTCIRILO] DBThread [(SPID 52,61)] Started [02/03/2022 10:03:22] IP [127.0.0.1:4300] IDLE [ ] InTransact [ ] Memory [0] Running [ROP_FIRST for 0 s.] RCV [49097] SND [360668] TCBuild [20210202-20210930] TCVersion [21.1.1.0] ARCH [64] OS [WINDOWS] BUILD [RELEASE] SELECT TOP 2 B1_COD,B1_MOPC FROM SB1010 WHERE D_E_L_E_T_=? ORDER BY 1 [tDBServer] -- First Recno on Table [NO_RECORD_FOUND] [BOF] [EOF] |
---|---|
Correção | Realizamos um ajuste no TOTVS | DBAccess para que a função DBGOTop() tenha acesso aos Bind Parameters utilizados pela função TCGenQry2(). |
Informações adicionais |
|
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas