Microsoft
Software
Hardware
Network
Question : Add Records to Updateable Views and Making them visible in Real Time
What is it I am not grokking with Updateable views?
I have a form whose main table is an updateable view. (the price settings for an account)
I can add a new record to the view, see the result, set the new parameters I want and so on. The form displays how many records I have in the view. That increments correctly.
However, as soon as I move away from the new record, it becomes invisible and I can't get back to it. No filters are active and there is no update conflict. It has correctly inserted the new record into the base table (I'm using optimistic table buffering and doing a forced update any time I move from one record to another) and no other errors or strange behaviour occurs. But until I come out of the view altogether, flush it, and re-use it, I will not see the new record.
I've even tried doing that in real time and forcing the user to wait thus:
flush in (viewname)
use in (viewname)
flush in (basename)
messagebox('Record Added, Press Any Key to Continue',0,'Record Added',2000)
use (viewname)
and even that will not give me the view with the new record in it!
What step am I missing in order to make the new record visible and available in real time?
Answer : Add Records to Updateable Views and Making them visible in Real Time
If the base table is buffered, you have to TABLEUPDATE that too.
Random Solutions
How do I restore the toolbar at the bottom of Outlook Mailbox where the number that shows the number of email messages is located.
Using web service in javascript for asp.net ajax-enabled web site
How do i display month abbeviations instead of months in the proposed solution
Error attempting to set conditional formatting in Excel via VB.NET
Microsoft sql2005 security patch
Change logon gui windows 2003
C# Replace Statement
store a query result in a table
webservice.htc memory leak quick fix
How to associate a default schema with a login