FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 25
→
Como listar usuário groupware num combobox
Como listar usuário groupware num combobox
Débuté par ANDRE MARTINI / IS2, 08 avr. 2016 21:40 - 3 réponses
Connectez-vous…
ANDRE MARTINI / IS2
#1
Membre enregistré
203 messages
Popularité : +25 (25 votes)
Posté le 08 avril 2016 - 21:40
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
Signaler
0
0
ANDRE MARTINI / IS2
#2
Membre enregistré
203 messages
Popularité : +25 (25 votes)
Posté le 14 avril 2016 - 16:03
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
Signaler
0
0
ANDRE MARTINI / IS2
#3
Membre enregistré
203 messages
Popularité : +25 (25 votes)
Posté le 15 avril 2016 - 16:24
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
Signaler
0
0
adrianoboller
#4
Membre enregistré
3 657 messages
Popularité : +175 (223 votes)
Posté le 16 avril 2016 - 21:36
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/
Signaler
0
0
→ Revenir à WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte