PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 25 → Combo Box Mostra Um Valor e Grava Outro
Combo Box Mostra Um Valor e Grava Outro
Started by ANDRE MARTINI / IS2, Mar., 24 2016 7:05 PM - 1 reply
Registered member
212 messages
Popularité : +25 (25 votes)
Posted on March, 24 2016 - 7:05 PM
Olá Pessoal,

Criei uma tabela com o campo chamado Tipo_natureza e configurei no próprio analisys que este campo é to tipo COMBOBOX e na propriedade [Initial Content] coloquei assim:
CRE
CPA

Quando foi testar o cadastro notei que na base de dado o windev está gravando 1 e 2 e não CRE e CPA, como faço para configurar para o windev gravar CRE e CPA?

--
André Martini
IS2 Automotive http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive http://www.is2.inf.br/is2construtive/index.html
IS2 Store http://www.is2.inf.br/is2store/index.html
IS2 Gerent http://www.is2.inf.br/is2gerent/index.html
Registered member
212 messages
Popularité : +25 (25 votes)
Posted on March, 24 2016 - 8:02 PM
Encontrei a solução, basta marcar o campo [returns the value specified by glink] na guia [Details] na configuração do ComboBox

--
André Martini
IS2 Automotive http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive http://www.is2.inf.br/is2construtive/index.html
IS2 Store http://www.is2.inf.br/is2store/index.html
IS2 Gerent http://www.is2.inf.br/is2gerent/index.html