Application Global Datasets

  • Thread starter Thread starter James Morton
  • Start date Start date
J

James Morton

I am creating a dataset from xml on my main form using ReadXML. I have alot
of other forms and want to use data from the tables in the main forms
dataset. THIS IS NOT AN MDI APP. How can I set this up?

reference the main form then the data set?
put the dataset in its own class file?
use the dataset xsd (which I don't know how to do yet)?

something else I am not thinking of.

Obviously the entire point is to get the disconnected dataset into memory
and allow all my forms to hit the datables however they want. Also, since I
am creating the dataset from XML I dont think I can use most of the normal
wizards when doing this from server explorer.

Many thanks,
James M
 
Create a MODULE.... and define the dataset there as FRIEND ds as DataSet
The DataSet will be visible to all of the application.... but as defined
above, there isn't any datatables defined..... and the dataset hasn't been
instanciated..... use NEW as part of the defination to instanciate it...
or any other method to assign a dataset to the variable......

There are many options to define a DataSet.... XML is just one method.....
 
Back
Top