AutoIncrementMasterDetail
--------------------------------
Demonstrates Field.AutoIncrement=ClientAndServer in a master-detail situation.

Open Schema Designer on the schemaDef1 component. Note AutoIncrement=ClientAndServer
settings in the fields Employees.EmployeeID and Orders.OrderID.

Run the sample. Add a new row to the upper (master) grid (Employees),
fill columns FirstName, LastName. Note that EmployeeID = -1.
Add a new row in the lower (detail) grid (Orders). Enter
"ALFKI" (or other valid customer id) in the CustomerID column.
Note that OrderID = -2, and EmployeeID = -1 (EmployeeID in the 
child row automatically assumes the value from the parent row).

Press the "Commit changes" button. Observe that EmployeeID in both grids
and OrderID in the child grid change, show the actual values
generated by the database (instead of temporary negative values).
Also observe that EmployeeID value is consistent in the master and child grids.

You can experiment more with the sample, adding more rows
to parent and child. C1DataObjects ensures that you can add any number
of parent and child rows (autoincrement fields will have temporary
values), then Update and get the real values for autoincrement fields
from the database for all rows, without manual coding.


