Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
We have customized the Customer maintenance screen which is not working with 2018. Apparently 2018 already has an update1 procedure.
Here is our old code
Private Sub Update1_OnUpdate(Level As Integer, InsertFlg As Integer, retval As Integer) Dim bxCFCustomerEx_temp As xCFCustomerEx If Level = 32001 Then holdIRN = "" If Trim(bxCFCustomerEx.ImageRefNbr) = "" Or Trim(bxCFCustomerEx.ImageRefNbr) = "<NEW>" Then holdIRN = GetNextImageRefNbr() End If End If If Level = LEVEL0 Then If holdIRN <> "" Then bxCFCustomerEx.ImageRefNbr = holdIRN Call DispFields("Form1", "xImageRefNbr") End If If CFCMSCustomerEXFound Then Call SUpdate1(csr_xCFCustomerEx, "xCFCustomerEx", bxCFCustomerEx, LenB(bxCFCustomerEx)) Else Call SInsert1(csr_xCFCustomerEx, "xCFCustomerEx", bxCFCustomerEx, LenB(bxCFCustomerEx)) End If End IfEnd Sub
I created a button to save the user's input and copied the above code to the button click(). No I get this error
What do I have to change to get this button to work?
I fixed it. All I had to do is remove the old code. Save it and open it again and select the update object an enter the code again.
Business Applications communities