General information
Category:
The Mere Mortals .NET Framework
Title:
NULL Business Object
I have a maintenance form with a business object "Location" and it works as expected.
I have a second form that has many business objects including the "Location" business object.
I have no issues with any of the business objects except the "Location" business object. When I run the form and call _location.GetAllData() the application throws a null reference error.
*Declare business object
Private _location As Location
*Initialize business object
Me._location = CType(Me.RegisterBizObj(New Location), Location)
*Get all data
Me._location.GetAllData()
This works fine on my "LOcations" maintenance form, but not on my other form. Any help on this?
Thanks.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only