S
Steven Licciardi
Hello,
I have created an MSDE database with one central table containing one
primary key, there are several other tables connected to that table via
relationships. I have managed to use the DataAdapter class to fill a
dataset with the contents of the main table. dAdapter.fill(ds), with a
selection command of "SELECT * FROM maintable". This all works fine, I
would now like the user to be able to select one entry from maintable and to
be able to now fill the dataset with all the related tables containing all
the related information. How do I do this? Currently I only get the
contents of one table in the dataset. Is there a select command of the form
: SELECT * from database WHERE id IN maintable IS idnum INCLUDING RELATED
DATA, for example?
Thanks,
Steven
I have created an MSDE database with one central table containing one
primary key, there are several other tables connected to that table via
relationships. I have managed to use the DataAdapter class to fill a
dataset with the contents of the main table. dAdapter.fill(ds), with a
selection command of "SELECT * FROM maintable". This all works fine, I
would now like the user to be able to select one entry from maintable and to
be able to now fill the dataset with all the related tables containing all
the related information. How do I do this? Currently I only get the
contents of one table in the dataset. Is there a select command of the form
: SELECT * from database WHERE id IN maintable IS idnum INCLUDING RELATED
DATA, for example?
Thanks,
Steven