PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
Aula 1045 - Dicas 13/... - Mostrar Anos Pagamentos Recebimentos
Aula 1045 - Dicas 13/... - Mostrar Anos Pagamentos Recebimentos
Started by amarildo, Jan., 23 2017 10:44 AM - 1 reply
Connect yourself…
amarildo
#1
Registered member
535 messages
Popularité : +14 (14 votes)
Posted on January, 23 2017 - 10:44 AM
//Somente os anos dos Recebimentos e Pagamentos
// QRY_Clone_Dup_Receber
SELECT DISTINCT
Left
(
duplicata_receber.data_pagamento
,
4
)
AS ano
FROM duplicata_receber
WHERE
duplicata_receber.id_empresa
=
{
PARAM_ID_EMPRESA
}
ORDER
by
ano DESC
// QRY_Clone_Dup_Pagar
SELECT DISTINCT
Left
(
duplicata_pagar.data_pagamento
,
4
)
AS ano
FROM duplicata_pagar
WHERE
duplicata_pagar.id_empresa
=
{
PARAM_ID_EMPRESA
}
ORDER
by
ano DESC
//Codigo da Janela
//Recebimentos
QRY_
Clone_Dup_Receber.PARAM_ID_EMPRESA
=
gn
EmpresaCodigo
// Que Sera igual a 1
TableDisplay
(
TABLE_
QRY_Clone_Dup_Receber
,
taReExecuteQuery
)
// Vou Mostrar conteudo Tabela
//Pagamentos
QRY_
Clone_Dup_Pagar.PARAM_ID_EMPRESA
=
gn
EmpresaCodigo
TableDisplay
(
TABLE_
QRY_Clone_Dup_Pagar
,
taReExecuteQuery
)
http://windevdesenvolvimento.blogspot.com.br/2017/01/aula-1045-dicas-13-mostrar-anos.html
Report
0
0
BOLLER
#2
Registered member
3,655 messages
Popularité : +175 (223 votes)
Posted on February, 09 2017 - 10:59 AM
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.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