k245:
Use the ability to edit data in the table itself. The properties of the table in the Editable section are responsible for this - AllowCreate, AllowEdit and AllowDelete.
I had both tableGrids already using those properties, but thanks for the response.
Derek:
Not sure if I understand the question totally but it sounds like you're wanting to relate records between two editable grids.
It's more normal (I think!) to use an editable grid for things like look-up data and that's pretty straightforward.
Linking editable grids is slightly more tricky, mainly when adding a new record in the subordinate (child) grid because you seem to have to manually enter the key of the parent record (although it does make moving a child record to a different parent very easy).
Sorry about the question- it was not clear at all. You managed to answer it anyway though.
I'm okay using buttons for the first grid, but the second grid must be on a different form with editable properties.
I couldn't figure out how to get the second grid working after the parent was created in the first grid. I briefly looked at your example this morning. Once I examine it closer, I'm sure I can figure out the rest.
Thank you a lot derek!
-joshuA
"Energy and persistence conquer all things."