Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.
Private Sub ButSave_Click() Dim intReturn As Integer 'Retrieve an ADO Connection for the current user Set cn = UserInfoGet.CreateADOConnection 'Set the current Database company cn.DefaultDatabase = UserInfoGet.IntercompanyID cmd.ActiveConnection = cn 'Get next note id and then insert batch record strsql = "DECLARE @I_sCompanyID smallint, @O_mNoteIndex numeric(19,5), @O_iErrorState int; " & _ "select @I_sCompanyID = CMPANYID from DYNAMICS..SY01500 where INTERID = 'TEST4'; " & _ "exec DYNAMICS.[dbo].[smGetNextNoteIndex] @I_sCompanyID, 1, @O_mNoteIndex output, " & _ "@O_iErrorState output; SELECT @O_mNoteIndex" cmd.CommandText = strsql cmd.Execute intReturn MsgBox (intReturn) End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Microsoft Dynamics GP 2013 R2 Safe Pay: "Payee" Field Showing "Vendor Name" Instead of "Check Name"||2||32|
|Can't upload license into Microsoft Dynamics Nav flf file||2||81|
|various utm fields in the lead||2||30|
|Userform to show a range in excel.||3||30|
Join the community of 500,000 technology professionals and ask your questions.