` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

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


Today is May 3, 2024, 3:25 am
This article has been viewed 35123 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: