[Stackoverflow] [Progress OpenEdge ABL] Is it possible to connect to a database using a .PF file programatically

Status
Not open for further replies.
G

Gaetano Herman

Guest
I would like to use a switch case for connect to different sets of databases, is it possible to use the connect statement with a .pf file that only contains -db parameters? I have tried it but I always get error 1402: parameter -p is not a database parameter and was ignored. But there is no -p parameter in my .pf files...

Something like this:

CASE Db_Name:
WHEN "Test":
CONNECT TO 'test.pf'.
END.
OTHERWISE:
CONNECT TO 'Db.pf'.
END.
END CASE.


Thanks in advance

Continue reading...
 
Status
Not open for further replies.
Top