Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
ABC: Updating file buffer on a form 2000-12-31 -- Rick Martin Newsgroups: topspeed.products.c4
> Looking at the documentation, I don't see any easy way to get to that
> saved buffer to update it myself after the relate:file.update(1) is
> called. The savebuffer and restore buffer methods look like I would be
> inviting a mess if I were to use them.
After you do your .Update add:
Self.Primary.Me.RestoreBuffer(Self.Saved,0)
Self.Saved = Self.Primary.Me.SaveBuffer()
This will reset the history buffer that is used to check for changes.
Note: this has to be in one of the Window Manager methods because Saved is
a protected method.
HTH,
Rick
Today is November 21, 2024, 3:47 am This article has been viewed 35385 times. Google search has resulted in 6 hits on this article since January 25, 2004.
|
|