Hi,
I hoped, that changing the parameter would have the effect.
When that didn't happen, I debugged to the point, with the fixed constant: False.
I changed the function in my object:
Code:
Function LoginConnectionId String sId Returns Integer
Integer iResult
Handle hoCli
Boolean bSkipDup bConnected
String sError sDesc //sDriver sServer
tConnection Connect
Get ConnectionIdCLIHandler sId to hoCLI
If hoCli Begin
Get pbSkipDuplicateLogin to bSkipDup
If (bSkipDup) Begin
Get IsConnectionIdLoggedIn sId to bConnected
End
If not bConnected Begin
//02/08/2021 Get LoginConnectIdBase sId False to iResult
Get ConnectionIdInfo sId to Connect
Get DriverIndex Connect.sDriver to iResult
If iResult;
Get_Attribute DF_DRIVER_SILENT_LOGIN of iResult to bSkipDup
Get LoginConnectIdBase sId bSkipDup to iResult
If (iResult) Begin
Get psErrorText to sError
Get ConnectionIdInfo sId to Connect
Move (sDesc + sFormat("Connection Id=%1.\n\n",sId) + sError) to sError
Set psErrorText to sError
End
End
End
Else Begin
Error DFERR_PROGRAM (SFormat(C_$ConnectionIdNotFound,sId))
Move 1 to iResult
End
Function_Return iResult
End_Function
End_Object
If my action is wrong, then the help should say, that this does not apply to the function call: LoginConnectionId
Best Regards