Dear Community,
I am facing Runtime error after upgrading to GP2016 R2 during SOP invoice printing can anyone help me to resolve this error:
Thanks
Dear Community,
I am facing Runtime error after upgrading to GP2016 R2 during SOP invoice printing can anyone help me to resolve this error:
Thanks
Richard I knew that you can find the solution. Thank you so much again..:)
and there was much rejoicing!!! I knew that had to be something unique about this report in this company.
Richard, Thank you so much for your help and effort..:) I can now print the report finally.
You have a custom connection string in your VBA code for this report. Grant the proper rights to user 'rpt' and this report will work in your GC company. See what rights this user has in other companies and compare.
Public Function ConnectionString() As ADODB.Connection
If Connection Is Nothing Then
Set Connection = New ADODB.Connection
End If
With Connection
.Provider = "SQLOLEDB"
.Properties("Data Source").Value = "ERPSERVER\SQL2014"
.Properties("Initial Catalog").Value = UserInfoGet.IntercompanyID
.Properties("User ID").Value = "rpt"
.Properties("Password").Value = "Wel$$$"
.Open
End With
Set ConnectionString = Connection
End Function
I have the file and will take a look at it.
Richard I do not send you file on email. I send you file on community private message or please send me your email so I can send you email too.
I do not see the email. You can attach the package file to the email.
I have send you file in private message as I am unable to send file from here.
I am officially out of ideas on this one. Hopefully someone from Microsoft can chime in here. If logging in as 'sa' gives the same results then it is not a security issue. You can run this report on all other companies with no issues so there is nothing wrong with the report. Using the primary version of the reports works. It is only when you make modifications. What modifications are you making? Can you attach a package file of your SOP Blank Invoice form?
Richard, I can see all rights are given to SOP10105. But unable to print invoice..:(
André Arnaud de Cal... 291,735 Super User 2024 Season 2
Martin Dráb 230,466 Most Valuable Professional
nmaenpaa 101,156