Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving data
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00954435
Message ID:
00954726
Views:
14
Darrell,

>I am trying to find in the MM sample data VB where the code is to save the VFP data. I have looked at the code behind the SAVE button but I am having difficulty to tracing it back to the actual update.

The actual update takes place in your business object's data access class. You can set a breakpoint in mmBusinessObject.SaveDataSet() to see what's going on. Check out the MM .NET Dev Guide topic "Stepping through MM .NET Code in the Debugger" to make sure your project is set up properly.

If you're using an MM .NET mmButtonSave class make sure you have either specified a primary business object on your form (by calling the form's RegisterPrimaryBizObj method) or you can specify the business object to be saved by setting the Save button's BindingSource property.

If that doesn't do it, a common problem that causes data to not be saved to the back end is the Windows Forms "EndEdit()" problem. You can set your business object's AutoEndEdit property to true to see if that helps.

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
Reply
Map
View

Click here to load this message in the networking platform