I am missing something important here. I need a global typed DataSet that I can fill, and then use it for Grids and Crystal Reports on other forms. I seems to make sense to instantiate the DataSet objects in the Load of a Parent form (when users are in this part of the app). The psuedo code shows my basic approach, but something is wrong (some spelling might be off).
Any assistance and understanding appeciated.
In Project Dataset:
dt_Results (typed DataTable)
Public Class clsLookup (also tried making these Shared)
Public dsLookup As DsResults
Public DT_Results As DsResults.dt_Results
Public DT_ResultsTableAdapter As DsResultsTableAdapters.dt_ResultsTableAdapter
Public Class clsGlobal
Public Shared gobjgLookup As clsLookup
Public Sub New()
USAGE: (parent form Load)
clsGlobal.gobjLookup = New clsLookup
USAGE: (user initiated lookup)
(ERROR: Object reference not set to instance of an object)