PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
Combo e Vision Com parãmetros
Combo e Vision Com parãmetros
Started by ANDRE MARTINI / IS2, Apr., 09 2016 1:49 AM - 2 replies
Connect yourself…
ANDRE MARTINI / IS2
#1
Registered member
208 messages
Popularité : +25 (25 votes)
Posted on April, 09 2016 - 1:49 AM
Olá pessoal,
tenho a seguinte situação, um cadastro de naturezas financeiras com os seguintes campos (código, nome, tipo = CRE ou CPA).
No cadastro de serviços tenho o campo codigo_da_natureza e preciso colocar um combobox para listar somente as natureza do tipo CRE e na VISION também deve listar somente as naturezas do tipo CRE
Já no cadastro de fornecedores tenho o campo codigo_da_natureza e preciso colocar um combobox para listar somente as natureza do tipo CPA e na VISION também deve listar somente as naturezas do tipo CPA
Na VISION acredito que posso colocar um parâmetro na tela e filtrar a table, mas no combobox usando a opção file/query não encontrei como passar parâmetro.
Alguma dica?
--
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
Report
0
0
ANDRE MARTINI / IS2
#2
Registered member
208 messages
Popularité : +25 (25 votes)
Posted on April, 11 2016 - 2:46 PM
resolvi da seguinte forma:
na vision:
focus gain
IF
gs
Tipo
<
>
""
THEN
TableEnableFilter
(
TABLE_
Natureza_financeira.COL_Tipo_da_natureza
,
filterEqual
,
gs
Tipo
)
ELSE
TableDisableFilter
(
TABLE_
Natureza_financeira
)
END
na combobox:
fiz uma query para cada tipo (QRY_Natureza_Financeira_Tipo_CPA e QRY_Natureza_Financeira_Tipo_CRE) dento de cadas query filtro os registros que quero
--
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
Report
1
0
adrianoboller
#3
Registered member
3,659 messages
Popularité : +175 (223 votes)
Posted on April, 12 2016 - 5:23 PM
Parabéns Andre!
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.blogspot.com.br/
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text