GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV Mobile 2024
→
Modifying database from secondary thread (ThreadExecute)
Modifying database from secondary thread (ThreadExecute)
Iniciado por Paco Maravilla, mar., 02 2020 4:13 PM - Sem resposta
Conecte-se…
Paco Maravilla
#1
Publicado em março, 02 2020 - 4:13 PM
Hello,
I'm trying to run a process in another thread to avoid blocking the UI, but i'm having a problem with the database.
In this thread, I do some updates in a table of a local SQLite database. Everything seems to work as expected, but when I access that table again from the main thread (after the another one was finished), the changes are lost. If I check the database just after the changes have been made, I can even see them, they are applied on the database. But for some reason, when i try to do something with this table on the main Thread, the changes are gone.
I would like to know if I'm missing something and if there's something I could do to accomplish this.
Denunciar
0
0
→ Voltar para WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto