`
Par2: Update file from browse without an update procedure 2006-10-04 -- Bjarne Havnen > I have a window with some browses in it. I want to make changes in a rec > without using an update procedure. Can anyone tell me what is the proper > syntax to use? > I'm working with C6EE 9054. This should do it Brwx.UpdateViewRecord() !selected reord !apply achanges Brwx.Primary.Me.Update() He further adds: Using the class hierarchy, the code translates to ViewManager/BrowseClass.RelationManager.Filemanager.Update() You could just as easy called the corresponding Access:File.Update(), but since I didn't knew your dictionary, I used the object reference instead. Also, that piece of code is generic. The code for changing with no browse is the same, in both instances you call the Filemanager.Update() method !prime key fields Access:File.Fetch(unique key) !do changes Access:File.Update() In automated process, I use the TryUpdate, since it will to report errors to the users, it will be up to me to handle them Printed December 3, 2024, 11:55 am This article has been viewed/printed 35237 times. |