Update. issue resolved.
Coming back to have a second look I see my issue, I have missed the [] on the tconnection declaration
tConnection[] amyconnections
Resolves the issue.
Regards
Danny
Hello, all.
Looking for a little guidance with ConnectionIds, I have run into a problem when calling this function a type conversion error is thrown,
The code contains
Object oConnection is a cConnection
Use LoginEncryption.pkg
Use DatabaseLoginDialog.dg
End_Object
String aconnectionini
Boolean ainuse
tConnection amyconnections
Get ConnectionIniFile of oconnection to aconnectionini
Get pbUseConnectionIni of oconnection to ainuse
Get ConnectionIDs of oconnection to amyconnections
The two functions in green return the expected values, ConnectionIDs results in the error
The DFconnID contains
[connection1]
id=ALCG
driver=ODBC_DRV
connection=DSN=ALCG-Dev3
DFPWD=removedencrytedpassword==
trusted_connection=yes
The variables after failure are
The struct is empty due to the failure.
Has anyone else seen this error condition with ConnectionIDs
REgards
Danny