Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Requery a readonly remote view?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00679757
Message ID:
00679829
Views:
13
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
Previous
Reply
Map
View

Click here to load this message in the networking platform