Skip to Content

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

Web service connection string.

Try

'Set Connection parametres- (System, DB Name, SBO id, SBO passowrd , DB ID, DB password)

SetConnectionParam("xxxxx", "xxxxx", "xxxx", "xxx", "xxx", "xxx")

' defined column and row

dsCustInfo = GetBlankSalesOrderDataSet()

dtHeader = dsCustInfo.Tables("SalesHeader")

'DataTable

If ConnectToDatabase() Then

oCompany = Session("g_CompanyConnection")

oRecSet = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)

As shown, the connection paramatres in defined in every methods. Do anyone have any idea how to create a config file to store this parameters to provide ease of updating as from time to time the parameters will have changes. ( changing server)

Please provide me the instructions and steps to generate a config file. Thank alot!

Best Regards,

Kean

Former Member
Not what you were looking for? View more on this topic or Ask a question