Thanks, I'll take a look at that Master Detail tutorial. I also grabbed the
MSDE, if all else fails, maybe I could just "pack" my own db with the app.
"Ron" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Ron" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Does the dataset contain one table for the employee data and another
table
> > for the details? If it does, you can set a data relation between them,
and
> > then bind the combobox to the employee table and the datagrid to the
> > details table. When you changed the selected index of the combobox, the
> > datagrid should change to show the new details. The help has good
> > information on this sort of thing.
> > Regards,
> > Ron.
> What I should have written was bind the combobox to the employee table and
> the datagrid to the data relation.
> There is a walkthrough called Creating a Master-Detail Windows Form. That
> example uses SQL Server and a listbox, not a combobox, but I am sure you
can
> adapt the idea to suit what you require.
>
> Good Luck,
> Ron.
>
>
|