PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
Problema com data em tabela.
Problema com data em tabela.
Started by Kaique Silva, Feb., 14 2024 8:14 PM - No answer
Connect yourself…
Kaique Silva
#1
Posted on February, 14 2024 - 8:14 PM
Tenho um relatório que está exibindo informações divergentes em um campo de data em uma tabela.
O código que utilizei foi
ConnectToDataBase()
IF NOT SQLExec(SQL_SCRIPT, DATA_SOURCE)
Error(errorInfo())
ELSE
WHILE SQLFetch(DATA_SOURCE) = 0
line is int = tableAddLine(Tabela)
//The problem is here
Tabela.dataEmissao = [line]= SQLGetCol(ds_dados,9)
//Other code content.
END
O código funciona e preenche a tabela corretamente conforme o preenchimento, porém o campo dataEmissao está vindo quebrado ex: __/__/2022, __/00/___
Detalhe isso está acontecendo somente no computador do meu cliente, e no meu computador funciona normalmente.
Tentei a seguinte solução:
Troquei o campo da coluna de Data para texto e utilizei a função dateToString(SQLGetCol(ds_dados,9)) mas não funcionou como eu esperava apresentando o mesmo tipo de problema.
Alguém pode me ajudar?
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