Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requery a readonly remote view?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00679757
Message ID:
00679829
Vues:
12
Victor,

1) Don't mark the view as SendSQLUpdates
2) Don't give them any edittable controls on any columns of the view
3) Don't issue any REPLACE statements on the cursor

then you don't have to set it ReadOnly

>I have a remote view in a form's dataenviornment, it's readonly property is set to .T.
>
>Problem is that VFP won't let me issue a Requery() on it. (says it can't update the cursor).
>
>What I tried to do to fix it was something like this:
>This.oCallingScreen.DataEnvironment.&lcCursorObject..ReadOnly = .F.
>...which is simply changing that readonly property of the cursor object to readonly = .F., well that isn't going to do the trick either because now VFP tells me this change won't take effect until the next time I load the dataenviornment..arrh!
>
>Anyone got any ideas on how I can get around this?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform