You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quando o primeiro campo do banco está marcado como FbIgnoreGet, ao retornar a lista de campos para o Search, inicia a string com "," (virgula), gerando exception. Quando além do guiid adicionei o phone no FbIngnoreGet, duplicou o campo name.
Exemplo de retorno para esse método no Zero To Hero: ',name,phone,occupation,balance,birthdate,lasttransaction,cpf,cnpj'
Com dois campos com ignoreGet: ',name,name,occupation,balance,birthdate,lasttransaction,cpf,cnpj,'
function TBind4D.GetFieldsByType(aType : TTypeBindFormJson) : String;
var
aAttr : FieldJsonBind;
begin
for aAttr in RttiUtils.Get(FForm) do Result := Result + aType.This.GetJsonName(aAttr.Component) + ',';
Result := Copy(Result, 1, Length(Result) -1);
end;
Grato!
The text was updated successfully, but these errors were encountered:
Buenas,
Quando o primeiro campo do banco está marcado como FbIgnoreGet, ao retornar a lista de campos para o Search, inicia a string com "," (virgula), gerando exception. Quando além do guiid adicionei o phone no FbIngnoreGet, duplicou o campo name.
Exemplo de retorno para esse método no Zero To Hero: ',name,phone,occupation,balance,birthdate,lasttransaction,cpf,cnpj'
Com dois campos com ignoreGet: ',name,name,occupation,balance,birthdate,lasttransaction,cpf,cnpj,'
function TBind4D.GetFieldsByType(aType : TTypeBindFormJson) : String;
var
aAttr : FieldJsonBind;
begin
for aAttr in RttiUtils.Get(FForm) do
Result := Result + aType.This.GetJsonName(aAttr.Component) + ',';
Result := Copy(Result, 1, Length(Result) -1);
end;
Grato!
The text was updated successfully, but these errors were encountered: