Skip to Content
0
Former Member
Sep 22, 2008 at 05:29 AM

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

88 Views

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'"

rs.DoQuery(QryStr)

Thank you very much.