hide relation in parent table

  • Thread starter Thread starter royrose78
  • Start date Start date
R

royrose78

Hi,
I created a dataset with 2 tables and a relation in a module.
Now, I have a form with datagrid that suppose to show only
the parent table.
:?: How can I hide the symbol (+) from the parent datagrid without
deleting the relation. :?:
Thanks
Roy.
 
I have the opposite problem.
I am trying to display the caption, the parent row, the child rows
without allowing the user to navigate.
I have two tables: Parent and Child.
The user has to select a parent row in a previous form.
I attach the datagrid to both table parent and child with each a
different DataGridTableStyle and set of DataGridColumns. I then use
in code dataGrid1.NavigatedTo( rowNumber, relationName) to display
the child rows. The Parent row is still display in a header row by
setting the ParentRowsVisible property to true.

For example: Customers - Orders
The user selects in the previous form, which customer he want to
examine.
The form will then display all the current's customer order in a
datagrid, with a quick recap of the customer detail in the
ParentRow.
The ParentRow will display the customer name, the customer contact
(address, phone number), ..., and calculated expressions (number of
order passed, sum of all purchase orders, ...).
The Child rows displaying all the current customer's orders.
Customer: Name: Alpha Address: London
Nb Order: 2
OrderID ProductID Qty Price PurchaseDate
 
Back
Top