PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
WX - Cancelamento de transações no HFSQL
WX - Cancelamento de transações no HFSQL
Started by BOLLER, Apr., 21 2018 1:13 AM - No answer
Connect yourself…
BOLLER
#1
Registered member
3,657 messages
Popularité : +175 (223 votes)
Posted on April, 21 2018 - 1:13 AM
boa noite!
Segue abaixo exemplo de uma procedure feita pelo meu cliente Paulo Viana de Brumado - BA
A algum tempo atrás comentei sobre o cancelamento de transações no HFSQL
Essa rotina faz o processo e disponibiliza acesso a tabela
//Libera tabelas
Procedure
glo_cancelar_transacao
(
)
HCheckStructure
(
"*"
,
hNoCheck
)
Tabelas
is string
=
HListFile
(
hLstAll
)
//captura nome das tabelas
FOR
EACH STRING
s
Resultado OF Tabelas SEPARATED
by
CR
ToastDeleteAll
(
)
ToastDisplay
(
"Aguarde - "
+
s
Resultado
,
toastShort
,
vaMiddle
,
haCenter
)
HTransactionFree
(
s
Resultado
)
END
ToastDeleteAll
(
)
ToastDisplay
(
"Aguarde - conexao 01"
,
toastShort
,
vaMiddle
,
haCenter
)
HTransactionCancel
(
conexao01
)
ToastDeleteAll
(
)
ToastDisplay
(
"Aguarde - conexao 02"
,
toastShort
,
vaMiddle
,
haCenter
)
HTransactionCancel
(
conexao02
)
ToastDeleteAll
(
)
ToastDisplay
(
"Aguarde - conexao 03"
,
toastShort
,
vaMiddle
,
haCenter
)
HTransactionCancel
(
conexao03
)
ToastDeleteAll
(
)
ToastDisplay
(
"Aguarde - conexao 01"
,
toastShort
,
vaMiddle
,
haCenter
)
HTransactionCancel
(
conexao03
)
Info
(
"Fim de processamento, sistema sera finalizado"
)
EndProgram
(
)
--
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