PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
Como listar usuário groupware num combobox
Como listar usuário groupware num combobox
Started by ANDRE MARTINI / IS2, Apr., 08 2016 9:40 PM - 3 replies
Connect yourself…
ANDRE MARTINI / IS2
#1
Registered member
208 messages
Popularité : +25 (25 votes)
Posted on April, 08 2016 - 9:40 PM
Olá pessoal,
como faço para listar todos os usuários do groupware num combobox no windev 20?
testei o código abaixo mas não funcionou! tentei GPWUser.Login e GPWUser..Login e não funcionou
Error:. operator forbidden. -> GPWUser.Login
ListDeleteAll
(
COMBO_
Nome_do_usuario
)
HListUser
(
IS2AutomotiveHFSQL
)
HReadFirst
(
gpwUser
,
"LOGIN"
)
WHILE
NOT
HOut
(
gpwUser
)
ListAdd
(
COMBO_
Nome_do_usuario
,
gpwUser
.
Login
)
HReadNext
(
gpwUser
,
"LOGIN"
)
END
--
André Martini
IS2 Automotive
http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive
http://www.is2.inf.br/is2construtive/index.html
IS2 Store
http://www.is2.inf.br/is2store/index.html
IS2 Gerent
http://www.is2.inf.br/is2gerent/index.html
Report
0
0
ANDRE MARTINI / IS2
#2
Registered member
208 messages
Popularité : +25 (25 votes)
Posted on April, 14 2016 - 4:03 PM
Ninguém sabe como listar os usuários do grouware num combobox?
--
André Martini
IS2 Automotive
http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive
http://www.is2.inf.br/is2construtive/index.html
IS2 Store
http://www.is2.inf.br/is2store/index.html
IS2 Gerent
http://www.is2.inf.br/is2gerent/index.html
Report
0
0
ANDRE MARTINI / IS2
#3
Registered member
208 messages
Popularité : +25 (25 votes)
Posted on April, 15 2016 - 4:24 PM
RESOLVIDO! Segue código abaixo:
s
DBRootPath is
string
//diretorio dos arquivos no HFSQL
s
DBRootPath
=
HSetServer
(
IS2AutomotiveHFSQL
,
hDatabasePath
)
s
DBRGPWootPath is
string
//diretorio dos arquivos do GroupWare no HFSQL
s
DBRGPWootPath
=
s
DBRootPath
+
"\"
+
IS2AutomotiveHFSQL
..
Database
+
"\Gpw_IS2Automotive\"
s
NomeArquivoUsuarios is
string
=
"GPU_User.FIC"
ds
Usuarios is
Data Source
ListDeleteAll
(
COMBO_
Nome_do_usuario
)
HDeclareExternal
(
s
DBRGPWootPath
+
s
NomeArquivoUsuarios
,
ds
Usuarios
,
"PCSGPW2001"
)
HReadFirst
(
ds
Usuarios
)
WHILE
NOT
HOut
(
ds
Usuarios
)
ListAdd
(
COMBO_
Nome_do_usuario
,
ds
Usuarios.Login
)
HReadNext
(
ds
Usuarios
)
END
HCancelDeclaration
(
ds
Usuarios
)
--
André Martini
IS2 Automotive
http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive
http://www.is2.inf.br/is2construtive/index.html
IS2 Store
http://www.is2.inf.br/is2store/index.html
IS2 Gerent
http://www.is2.inf.br/is2gerent/index.html
Report
0
0
adrianoboller
#4
Registered member
3,659 messages
Popularité : +175 (223 votes)
Posted on April, 16 2016 - 9:36 PM
Obrigado pela contribuição André
Parabéns!
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.blogspot.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