Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in Step 6 - Enhancing the Orders Business Object
Message
 
To
15/06/2006 19:55:44
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01129419
Message ID:
01129435
Views:
15
Tony,

> Private Sub pckCustomer_ItemSelected(ByVal sender As System.Object, ByVal e As OakLeaf.MM.Main.Windows.Forms.mmPickerItemSelectedEventArgs) Handles pckCustomer.ItemSelected
> Me.dsOrders = Me.oOrder.GetOrdersByCustomerID(Me.pckCustomer.Text)
> Me.btnNew.Enabled = True
> Me.btnDelete.Enabled = True
> Me.btnCancel.Enabled = True
> Me.btnSave.Enabled = True
> Me.btnOrderDetailNew.Enabled = True
> End Sub

This was a mistake in an older version of the MM .NET Dev Guide. Just change the first line of this method to:
Me.oOrder.GetOrdersByCustomerID(Me.pckCustomer.Text)
And you can remove the dsOrders variable from the form. Sorry for any confusion!

Best 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