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
set system date and time from other PC
ATL tutorial
Using If..Else in SQL Stored Procedure
Mount new FAT partition in DOS without reboot?
Database Advise
how can I get only the time from a datetime column that stores a bunch of datetimes
Excel 2007 Formula Question
Another auto-Complete question for a combobox in an Access form
Windows 7 BitLocker with Active Directory
Count records in subform meeting criteria