I have little experience with advpl
. I was studying the subject and I have a problem. I get erro 102
when I try to include a record in the direct clients table in Protheus
.
I tried to include a registration via SQL SERVER
and I was successful. I can check that the record was included in the table, but when I open totvs
I can not find any records. What is the reason for this?
Thank you in advance!
The following is the error:
> Exceção ocorrida: : Error : 102 (37000) (RC=-1) - [Microsoft][ODBC SQL
> Server Driver][SQL Server]Sintaxe incorreta próxima a ''. ( From
> tMSSQLConnection::GetQueryFile ) Thread ID [8376] User [wdrik] IO
> [13168] Tables [9] MaxTables [9] Comment [] Status [] SP [ ] Traced
> [No] InTran [Yes] DBEnv [MSSQL/P11] DBThread [(SPID 53,54)] Started
> [02/10/2016 21:07:38] LastIO [] IP [127.0.0.1:1234] RCV [118535] SND
> [501865] TCBuild [20141119] SELECT DISTINCT Z90.Z90_DESCRI,Z92.* FROM
> Z90990 Z90 , Z92990 Z92 WHERE Z90.Z90_FILIAL = ' ' AND
> Z90.D_E_L_E_T_= ' ' AND Z92.Z92_FILIAL = ' ' AND Z92.D_E_L_E_T_= ' '
> AND Z92.Z92_EST IN ('SP' ) ''