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...
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...