Input Type - Suggest

0

Is it possible to capture typed text in an Edit with the input property Type = Suggest when there is no ItemValue valid?

Ex.

Trn Modelo {ModeloID, ModeloNome}
Trn Objeto {ObjetoID, ObjetoNome, ModeloID*}

*ModeloID = Edit (Input Type: Suggest; Item Values: ModeloID; Item Descriptions: ModeloNome)
  

Template Table

     

1 - Model 01

     

2 - Model 02

When you register an Object and type 'Model 03'. It will return 'No Model'.

How to capture the String 'Model 03'?

Here's an example:

Gx Ev3 upgrade 1 + C #

    
asked by anonymous 27.10.2014 / 12:34

1 answer

1

If you want to change the message, simply create a rule: refmsg('Modelo não cadastrado.',ModeloID);

An error rule if modeloid.isempty() should also work.

    
30.10.2014 / 20:16