Hi all,
A question that brings me back to my first Uniface experience and the miraculous way Uniface opened a path to the database, both explicitly (with the open statement) and implicitly (as soon as needed with info from the asn). But what if we are not sure about the status of the connection to a path? Is there a way to find out if the path is opened already?
What I have tried so far:
1. Do some IO to the database. Unfortunately this activates the credentials popup. We don't want that to happen.
2. Use $user and/or $password. These will only have a value if the path credentials are available. Unfortunately they seems to crash Uniface is the path not opened yet.
3. Just do an 'open' statement. This is how it's done most of the times. The open statement does an implicit close of the path if it was already open.
I wished there was a function to return the status of a path. Or is there such?
------------------------------
Peter Lammersma
Coöperatie Unividuals Application Management
Amsterdam NL
------------------------------


