Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record is out of range and SetFldState
Message
 
To
12/09/2001 11:40:07
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00555538
Message ID:
00557166
Views:
25
Rex,

>I have a view usingoptimistic table buffering in a business object. When I try to save the view, I get a "Record is out of range" error in cTableBehavior after running the SetPrimaryKeyFieldState method on the final record. When I browse the view, the first record is fine, but the last record is corrupted and the record number as well as the primary key is 0, even though it was correct before SetPrimaryKeyFieldState() was run. There are no indices on this view.>

I'm wrestling with this one right now...it appears to be a VFP bug! I'll let you know as soon as I have a workaround!

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform