PRB: Specifying View KeyField Sets Other Fields Updateable (195408)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Visual FoxPro for Macintosh 3.0b
This article was previously published under Q195408 SYMPTOMS
Specifying the keyfield of a View sets the rest of the fields to be
updateable, although the fields are not being set to be updateable
explicitly.
RESOLUTION
Use a DBSETPROP() command similar to the following to clear the fields in
the view that you do not want to be updateable:
DBSETPROP("TstVw.Fld1","Field","Updatable",.F.)
Also, you can open the view in the View Designer and clear the fields that
you do not want to be updateable, from the Update Criteria tab.
STATUS
Microsoft is researching this behavior and will post new information here
in the Microsoft Knowledge Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbDatabase kbpending kbprb KB195408 |
---|
|