Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to control view updates
Message
From
26/11/2002 06:33:58
 
 
To
26/11/2002 06:22:14
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Netherlands
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00726867
Message ID:
00726872
Views:
17
Hi!

RTFM. Views are explained in several chapters in MSDN.

Just for this case, how view is updated automatically is dependent on the Buffering setting of view's cursor. Also, DBSetProp() affects only setting in database and does nothing with views already opened.


>Hi
>
>Can anyone tell me how to control when a view updates its base table?
>
>MyView is a local view. I've experimented with
>dbsetprop('MyView','view','sendupdates',.f.) and setting this property to .t. when I want the table to be udpated but with some unpredictable results.
>
>Experiments with cursorsetprop() also didn't workout.
>
>I've also noticed that the base table almost alway gets updated when i close the form that works with this view.
>
>I'm completely lost.
>Can't find any logic in it.
>
>This has kept me puzzled for much to long now :-(
>
>please help
>
>TIA.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform