Hi Everyone...
I'm stumped, I'm creating a app that requires a Global Dataset to pass data the user selects.
If I create a dataset through a Module, It get an error when I try to manually populate it. The Error is "Object reference not set to an instance of an object."
Can anyone tell me what I'm missing or doing wrong..
Thanks..
<Module Code>
Public Dataset3 As New DataSet("Export")
<App Code>
Dim r as DataRow
r = DataSet3.Tables("Export").NewRow
.
.
.
DataSet3.Tables("Export").Rows.Add(r)
I'm stumped, I'm creating a app that requires a Global Dataset to pass data the user selects.
If I create a dataset through a Module, It get an error when I try to manually populate it. The Error is "Object reference not set to an instance of an object."
Can anyone tell me what I'm missing or doing wrong..
Thanks..
<Module Code>
Public Dataset3 As New DataSet("Export")
<App Code>
Dim r as DataRow
r = DataSet3.Tables("Export").NewRow
.
.
.
DataSet3.Tables("Export").Rows.Add(r)