Hello,
IDK if you are using a combobox to select dbtype, but I was getting the same error and using this my error has been solved:
With Me.TipoSQL
.Items.Add(SAPbobsCOM.BoDataServerTypes.dst_MSSQL2012)
.Items.Add(SAPbobsCOM.BoDataServerTypes.dst_HANADB)
End With
------------------------------------------------------------
Select Case Me.TipoSQL.SelectedItem
Case SAPbobsCOM.BoDataServerTypes.dst_MSSQL2012
.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2012
Case SAPbobsCOM.BoDataServerTypes.dst_HANADB
.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_HANADB
End Select
Add a comment