Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jan 2002
    Location
    Delta, Br. Columbia
    Posts
    116
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Updating correct record (2000/XP)

    Need some help with this one. The user is trying to identify which plants have orders and therefore need tagging. The problem is that the 2 record sets have different keys.

    The table to be updated has the following fields:

    PlantNo )
    PlantSize ) these 3 fields make the primary key - data is derived from master inventory
    PlantLoc )
    Qty_to_Tag

    Field to update Qty_to_tag

    Updating data only has PlantNo, PlantSize and qty and there is no way to get a location as this data is derived from orders. The user wants me to update the first occurrence only of a given Plantno/PlantSize

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Updating correct record (2000/XP)

    Are you trying to update using a query, or in code?

  3. #3
    2 Star Lounger
    Join Date
    Jan 2002
    Location
    Delta, Br. Columbia
    Posts
    116
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Updating correct record (2000/XP)

    Hans

    Thanks for the reply but ignore my post. My mistake with bad table design. Once I split the data into a one to many relationship there was no problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •