smartglass
IS-IT--Management
Hi there:
I have a button on a form that interrogates an oracle database several times, in the form of queries. Each time I am required to log in manually.
Is there any way of writing code that logs the user in automatically?
I found this:
method pushButton(var eventInfo Event)
var
q Query
dbSQL Database
dynAlias DynArray[] AnyType
endvar
dynAlias["USER NAME"] = "*****"
dynAlias["Password"] = "*****"
dbSQL.open(" :Linux:",dynAlias)
q.readFromFile("Import ZZOSSUM2.qbe")
q.executeQBE()
etc
where the **** represent the user name and password, but I still have to login. The server is called Linux. This is Paradox 9 and Oracle 8.
Thanks in advance!
I have a button on a form that interrogates an oracle database several times, in the form of queries. Each time I am required to log in manually.
Is there any way of writing code that logs the user in automatically?
I found this:
method pushButton(var eventInfo Event)
var
q Query
dbSQL Database
dynAlias DynArray[] AnyType
endvar
dynAlias["USER NAME"] = "*****"
dynAlias["Password"] = "*****"
dbSQL.open(" :Linux:",dynAlias)
q.readFromFile("Import ZZOSSUM2.qbe")
q.executeQBE()
etc
where the **** represent the user name and password, but I still have to login. The server is called Linux. This is Paradox 9 and Oracle 8.
Thanks in advance!