Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to control view updates
Message
 
 
À
26/11/2002 06:22:14
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00726867
Message ID:
00726872
Vues:
20
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform