PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → GPW
GPW
Iniciado por guest, 06,sep. 2017 07:50 - No hay respuesta
Publicado el 06,septiembre 2017 - 07:50
Hi to all

I have 2 projects.
1. ERP (Windev)
2. Test (Webdev)

I use code to change connection and connect into database (analysis). Also use Manual start for GPW: GpwOpen()

for GPW connection I use this code:
IF gpwOpenConnection(KonekcijaNaGroupware,"Admin","","192.168.1.199","GPW_Database",hAccessHFClientServer,hOReadWrite,"",hDynamicCursor) = False THEN
Info("Not OK")
END

This connect correct to GPW_Database and also create sub-folder with project name so I have 2 GPW's. GPW_Database\Gpw_ERP and GPW_Database\Gpw_Test.
How to change folder and connect second project into Gpw_ERP so I can use same users for connection. HChangeDir() and hChangeConnection() does not work.

Thank you.