For those interested, we run the web app at different clients on SQL Server. The database names are obviously different at every client, so to connect to the right SQL database we simply use the .ini file (I guess TPS file can also be used) and put the following code in the WebServer proc under Window Manager -> Init -> Restore from INI file.
GLOD:Server = GETINI('connection','server','','.\grailweb.ini') !'grailserver'
GLOD:Database = GETINI('connection','database','','.\grailweb.ini') !'grail_HIU'
GLOD:dbUser = 'USER'
GLOD:dbPass = 'PASSWORD'
GLOD:SQL_Connect = GLOD:Server &','& GLOD:Database &','& GLOD:dbUser &','&GLOD:dbPass
where the INI file looks something like this:
[WebServer]
Maximize=No
Minimize=No
XPos=419
YPos=221
[__Dont_Touch_Me__]
Sectors=0
[connection]
server=grailserver
database=grail_grail
docsign=last
PH=No
Broker=Yes
User=Yes
Claims=Yes
Maybe somebody will find this useful.
Cheers
Charl