Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease 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!
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, 7:13 am This article has been viewed 35386 times. Google search has resulted in 6 hits on this article since January 25, 2004.
|
|