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
KDC Service Hung - Event ID: 7022 - SBS2003
Delete printers and clear cache in terminal services?
IF / CALL Dos Batch help
Acess 2.0 permission problems and upgrading to Access 2003
HTML drop down menues
SQL query - AVG TOP 10
An error while exporting a Query as a txt file
70-294 practice question
Listbox
how to batch rename files without extension to .wpd files