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
Sharing the same State object
Need help in creating XML file
View Excel Columns in Userform
How do I use twain_32.dll in Visual C#.NET 2008
Error in distributed application (vb.net)
AJAX CalendarExtender - No dates before 1950
Format the Graphs to export on to the PDF
Opening an Excel File from an Access Form button
DAO recordset edit problem
VBA code to select the folder one level above this workbook's folder