Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to update source table with record appended to view
Message
From
12/05/1998 10:46:37
Yogi Kim
Yogi Kim Consulting
Toronto, Ontario, Canada
 
 
To
08/05/1998 15:34:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00098177
Message ID:
00098768
Views:
28
Looks like your view properties were not defined to accept new records.
If you're using the view builder in VFP you should make sure that the update column is checked for your primary key (Update Criteria page). For some reason, the update property is off by default.

If you're building your views in code you need to add the following line:

=DBSETPROP(lv_View.PrimaryKey,'Field','Updatable',.T.)

Hope this helps.
Yogi Kim
Database Systems Specialist
"Specializing in Y10K Solutions."
Previous
Reply
Map
View

Click here to load this message in the networking platform