PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
Importar tabela Excel para uma tabela HFSQL - Forma fácil
Importar tabela Excel para uma tabela HFSQL - Forma fácil
Started by Bastiaan, Sep., 24 2020 9:40 PM - 1 reply
Connect yourself…
Bastiaan
#1
Registered member
37 messages
Popularité : +5 (5 votes)
Posted on September, 24 2020 - 9:40 PM
Existe uma forma muito fácil de se importar uma tabela excel em uma tabela HFSQL previamente criada
IF HImportXLS(Nome_tabela_HFSQL,"C:\Projeto\Tabela_Excel_a_importar.xls",1 ,"",hImpCreation)= True THEN
Info("OK")
ELSE
Info("Erro")
//,PROGBAR_PROGRESS_LinearNative)
END
Report
0
0
Bastiaan
#2
Registered member
37 messages
Popularité : +5 (5 votes)
Posted on September, 24 2020 - 10:55 PM
OBS - Normalmente a tabela HFSQL deve ser criada com o mesmo numero de campos existentes na planilha Excel, para que os respectivos campos do Excel povoem os campos da tabela HFSQL - criando os campos da tabela HFSQL como sendo TEXTO o conteúdos tranferidos do Excel será iguais sem distorção
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