Commit 15cac967 authored by Jucelino Fonseca's avatar Jucelino Fonseca

Ajustes e testes

parent 655b9e9c
...@@ -517,7 +517,7 @@ begin ...@@ -517,7 +517,7 @@ begin
lmostrar := false; lmostrar := false;
end; end;
end end
else else if Key <> 190 then // Ponto(.)
begin begin
lChar := VK2Char(Key); lChar := VK2Char(Key);
if Pos(lChar,'?') > 0 then if Pos(lChar,'?') > 0 then
...@@ -1550,7 +1550,7 @@ begin ...@@ -1550,7 +1550,7 @@ begin
end end
else else
begin begin
ls_expressao := '=,()^*#@$%&"!@#%&*''_-'; ls_expressao := '=,()^*#@$%&"!%''_-';
if (trim(piTexto) = __ASTERICO) then if (trim(piTexto) = __ASTERICO) then
begin begin
li_Pos := li_Len + 1; li_Pos := li_Len + 1;
...@@ -1558,7 +1558,9 @@ begin ...@@ -1558,7 +1558,9 @@ begin
end; end;
end; end;
end end
else if (piOpEve = fopEvenFromCompleto) then else if (piOpEve = fopEvenFromCompleto) or
(piOpEve = fopEvenSearchFrom)
then
begin begin
if piTemPalavraAntes then if piTemPalavraAntes then
begin begin
...@@ -1566,10 +1568,12 @@ begin ...@@ -1566,10 +1568,12 @@ begin
end end
else else
begin begin
ls_expressao := '=,()^~#@$%&"!@#$%&*_'; ls_expressao := '=,()^~#@$%&"!*''_-';
end end
end end
else if (piOpEve = fopEvenWhereCompleto) then else if (piOpEve = fopEvenWhereCompleto) or
(piOpEve = fopEvenSearchWhere)
then
begin begin
if piTemPalavraAntes then if piTemPalavraAntes then
begin begin
...@@ -1685,14 +1689,16 @@ begin ...@@ -1685,14 +1689,16 @@ begin
lFromSec := fhlt1.AddSection(__FROM); lFromSec := fhlt1.AddSection(__FROM);
lWhereSec := fhlt1.AddSection(__WHERE); lWhereSec := fhlt1.AddSection(__WHERE);
fopEvenSearchSelect := fhlt1.AddOpenEvent('identifier','',fil_None);
fopEvenSearchSelect := fhlt1.AddOpenEvent('identifier','',fil_LastIdentPart); fopEvenSearchSelect.Action := pac_Rep_LastTok;
fopEvenSearchSelect.block := lSelectSec; fopEvenSearchSelect.block := lSelectSec;
fopEvenSearchFrom := fhlt1.AddOpenEvent('identifier','',fil_LastIdentPart); fopEvenSearchFrom := fhlt1.AddOpenEvent('identifier','',fil_None);
fopEvenSearchFrom.Action := pac_Rep_LastTok;
fopEvenSearchFrom.block := lFromSec; fopEvenSearchFrom.block := lFromSec;
fopEvenSearchWhere := fhlt1.AddOpenEvent('identifier','',fil_LastIdentPart); fopEvenSearchWhere := fhlt1.AddOpenEvent('identifier','',fil_None);
fopEvenSearchWhere.Action := pac_Rep_LastTok;
fopEvenSearchWhere.block := lWhereSec; fopEvenSearchWhere.block := lWhereSec;
fopEvenSelectAposPonto := fhlt1.AddOpenEvent('identifier,''.''','',fil_None); fopEvenSelectAposPonto := fhlt1.AddOpenEvent('identifier,''.''','',fil_None);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment