Dataset Question? Please Help

J

Jeff Brown

I have a MDI Program and several child windows.
On one child window a dataset is loaded with trailer_Num & Trailer_ID only

On another the dataset is loaded with trailer_Num, Trailer_Location and
several other fields.

My Datasets have been declared in each child Window, but when i change
windows teh correct dataset is not accessible, Do i need to make my datasets
in the MDI Parent and get ALL the field names? or do i generate several
datasets based on the same table (ie 1 for each Child)?
 
J

Jeff Brown

Basically ... where do i need to declare my datasets since each Child mdi
doesn't need to acces all fields? Do i declare a Dataset in the Parent MDI
and then access certain fields from it for each Child?
 
M

mahesh

Jeff,
It better If child window maintains its own state, So
let each child window have its own dataset. Based on your
requirement U can decide as to who should load the data
into this dataset, either the container or the child
window.

Please mail be back for any clarifications

Regards
Mahesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top