Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error: Type "SAPbobsCOM.Recordset" is not defined.

Hello all,

I've already add DI and UI API Reference.

Here is my code:

Dim rs As SAPbobsCOM.Recordset

Dim Qrystr As String

rs = SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)

QryStr = "SELECT OCRD.CardCode, OCRD.CardName, from OCRD WHERE OCRD.CardType='S'"


Thank you very much.

Former Member
Former Member replied


How you have declarate this SBO_Company?

Maybe this SBO_Company lost the connection.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question