Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field not updating
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Field not updating
Miscellaneous
Thread ID:
00230854
Message ID:
00230854
Views:
51
I have a real head scratcher here. I have a pretty standard cBizObjNoListmaintForm for my Client table with nothing too fancy going on. The only trickery has to do with the concept of a master client and being able to add related clients that become associated with the parent.

This may have been a mistake, but all records are stored in the same table. The form has a PageFrame with the Client properties on Page 1 and a grid with related clients on page 2 that has Add, Edit and Delete buttons. Page 1 uses a KBizObj backed by a vanilla view called lv_Clients and Page 2 has a child KBizObj backed by a view named lv_ClientsRelated. I have a flag, called lMaster, to help me distinguish between masters and relateds. I am satisfied that I'm setting it properly in the places where I need to.

BUT!, here's my problem: I can't get the dang thing to update from the view to the underlying table. The crazy thing is that it stays the right setting in the view, and therefore my add related clients button and some other controls are enabled, but upon a save on a record with the flag marked true, it always writes as gd**%%!!@ .F. to the underlying table. I have checked the field properties in the view designer (and through dbgetprop() while running) and everything seems in order.

Any help or suggestions would be greatly appreciated.
Jay Robohn
VFP Developer
Next
Reply
Map
View

Click here to load this message in the networking platform