project BLF > class Database Login Info > method MainBlock

Description

The main method, which is run automatically when the component is started. This method is called to retrieve database user and password information. By default both are blank, because the application database is not really secured.


Parameters


icLogicalDbNameinputcharacterLogical database name
ocLoginoutputcharacterDatabase login name
ocPasswordoutputcharacterDatabase login password


Internal usage


BLF
method other.ConnectDB
method Progress.ConnectDB


program code (program1/dbinfo.p)

assign ocLogin = ""
       ocPassword = "".