cancel
Showing results for 
Search instead for 
Did you mean: 

Web service connection string.

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kean

This forum does not pertain to your question.