Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Insert data Question

Discussion in 'Information Technology' started by niuginikiwi, Jul 28, 2006.

  1. niuginikiwi

    Expand Collapse

    I have browsed the discussion groups but can not find anything closer to the
    question I have, thus im posting here i nthe general senction. Here is my

    I have the following tables and relationships.
    tblOrders and tblOrderDetails have a one-to-many relationship.
    tblPlantingDetails and tblOrderDetails also have a one-to-many relationship.

    I have a field in the tblPlantingDetails named CutDate of type Date/Time. I
    also have a field called OrderDate in the in tblOrders.

    What I want to do is programmatically insert the first OrderDate that is
    related to the tblPlantingDetails through tblOrderDetails into the field
    CutDate in tblPlantingDetails.

    In Summary, there are several orders that use a planting record, and I want
    to take the earliest possible OrderDate and populate the CutDate field in the
    related related record of tblPlantingDetails.

    Any kind help and thoughts on how to achieve this would be very much

    Thanks in advance.

    I create so many orders which involves a planting record
  2. Loading...

Share This Page