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
SQL Query: How do I get the date/time value just before the MAX record?
Operation terminated with error -1808 (JET_errDiskFull, No space left on disk) after 8846.125 seconds.
File format is invalid
Restore a full backup of a disktop?
How to set focus to a textbox in WPF
DDE from MSAccess to MSExcel
Insert Script into Excel Workbooks as module1
how to exclude one of the table during imp/exp?
Public member 'String' on type 'String' not found
MSAccess - Remove all forms & tables using VB?