Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deselect a view field for updating
Message
From
03/02/2000 13:40:52
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00326811
Message ID:
00326819
Views:
20
>Hi.
>I have a file which I update using Views. On some screens, I don’t want one of the fields updated ( A balance figure) .
>By keeping one standard view, is there a way of excluding a certain field from the update.
>I suppose what I need is some way of telling VFP to update all fields in the view, but this time only, don’t update a particular field.
>
>Regards,
>
>Gerard

You can change the field's updatable status using DBSETPROP():

DBSETPROP("lvMyView.Myfield","Field","Updatable",.F.)
TABLEUPDATE()
DBSETPROP("lvMyView.Myfield","Field","Updatable",.T.)
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform