Welcome to SPN

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

Sign Up Now!

Query/Module Question

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

  1. JOM

    JOM
    Expand Collapse
    Guest

    I have a spreadsheet that I would like to import into my database, the thing
    is that I do no want to import duplicates. The spreadsheet has e.g., infor
    such as customer name, loan number comments and alot of other infor. There
    is no unique identifier in the spreadsheet. the loan number could appear
    more than once with one or more column differences.

    So how will import the data into my database and not duplicate rows...
     
  2. Loading...

    Similar Threads Forum Date
    Question About GGS Questions and Answers Aug 28, 2016
    Marriage And Discrimination Related Questions Blogs Mar 21, 2016
    Sikhi Questioning Faith Sikh Sikhi Sikhism Mar 3, 2016
    Entering into Sikhism: Questions on Reht Maryada. Blogs Oct 22, 2015
    A question about kes/hair? Blogs Oct 21, 2015

  3. Jeff Boyce

    Jeff Boyce
    Expand Collapse
    Guest

    It sounds like you are saying there is no way to tell if there are
    duplicates (no unique identifier, possibility of multiple records for each
    loan number, etc.).

    How do YOU tell that a spreadsheet row is a duplicate?

    Regards

    Jeff Boyce
    Microsoft Office/Access MVP

    "JOM" <JOM@discussions.microsoft.com> wrote in message
    news:70B69D2C-5564-4B5D-9DE6-B218A560B909@microsoft.com...
    >I have a spreadsheet that I would like to import into my database, the
    >thing
    > is that I do no want to import duplicates. The spreadsheet has e.g.,
    > infor
    > such as customer name, loan number comments and alot of other infor.
    > There
    > is no unique identifier in the spreadsheet. the loan number could appear
    > more than once with one or more column differences.
    >
    > So how will import the data into my database and not duplicate rows...
     
  4. JOM

    JOM
    Expand Collapse
    Guest

    The information in the spreadsheet is coming from a mainfrom program.
    The spreadsheet will contain infor such as (this is just an illustration as
    there are about 1o columns)

    loan Number: 123456
    Borrower: John
    Action Code: XYZ
    Action Reason: EM12-123

    loan Number: 123456
    Borrower: John
    Action Code: XYZ
    Action Reason: EF12-100

    loan Number: 789654
    Borrower: Mark
    Action Code: XYZ
    Action Reason: EF12-127
    "Jeff Boyce" wrote:

    > It sounds like you are saying there is no way to tell if there are
    > duplicates (no unique identifier, possibility of multiple records for each
    > loan number, etc.).
    >
    > How do YOU tell that a spreadsheet row is a duplicate?
    >
    > Regards
    >
    > Jeff Boyce
    > Microsoft Office/Access MVP
    >
    > "JOM" <JOM@discussions.microsoft.com> wrote in message
    > news:70B69D2C-5564-4B5D-9DE6-B218A560B909@microsoft.com...
    > >I have a spreadsheet that I would like to import into my database, the
    > >thing
    > > is that I do no want to import duplicates. The spreadsheet has e.g.,
    > > infor
    > > such as customer name, loan number comments and alot of other infor.
    > > There
    > > is no unique identifier in the spreadsheet. the loan number could appear
    > > more than once with one or more column differences.
    > >
    > > So how will import the data into my database and not duplicate rows...

    >
    >
    >
     
  5. Jeff Boyce

    Jeff Boyce
    Expand Collapse
    Guest

    Thank you for an example of the data you receive. My question still stands.
    What criteria are YOU using to determine "uniqueness" of a record? You need
    to be able to explain that before you can hope to tell Access how to do
    that...

    Regards

    Jeff Boyce
    Microsoft Office/Access MVP

    "JOM" <JOM@discussions.microsoft.com> wrote in message
    news:72384B0B-7F9B-429B-96C1-C3B5AE98AF36@microsoft.com...
    > The information in the spreadsheet is coming from a mainfrom program.
    > The spreadsheet will contain infor such as (this is just an illustration
    > as
    > there are about 1o columns)
    >
    > loan Number: 123456
    > Borrower: John
    > Action Code: XYZ
    > Action Reason: EM12-123
    >
    > loan Number: 123456
    > Borrower: John
    > Action Code: XYZ
    > Action Reason: EF12-100
    >
    > loan Number: 789654
    > Borrower: Mark
    > Action Code: XYZ
    > Action Reason: EF12-127
    > "Jeff Boyce" wrote:
    >
    >> It sounds like you are saying there is no way to tell if there are
    >> duplicates (no unique identifier, possibility of multiple records for
    >> each
    >> loan number, etc.).
    >>
    >> How do YOU tell that a spreadsheet row is a duplicate?
    >>
    >> Regards
    >>
    >> Jeff Boyce
    >> Microsoft Office/Access MVP
    >>
    >> "JOM" <JOM@discussions.microsoft.com> wrote in message
    >> news:70B69D2C-5564-4B5D-9DE6-B218A560B909@microsoft.com...
    >> >I have a spreadsheet that I would like to import into my database, the
    >> >thing
    >> > is that I do no want to import duplicates. The spreadsheet has e.g.,
    >> > infor
    >> > such as customer name, loan number comments and alot of other infor.
    >> > There
    >> > is no unique identifier in the spreadsheet. the loan number could
    >> > appear
    >> > more than once with one or more column differences.
    >> >
    >> > So how will import the data into my database and not duplicate rows...

    >>
    >>
    >>
     
  6. JOM

    JOM
    Expand Collapse
    Guest

    Jeff,
    A loan number needs to be unique, but that would contradict the example I
    provided. When the data is imported, access generates a PK.


    "Jeff Boyce" wrote:

    > Thank you for an example of the data you receive. My question still stands.
    > What criteria are YOU using to determine "uniqueness" of a record? You need
    > to be able to explain that before you can hope to tell Access how to do
    > that...
    >
    > Regards
    >
    > Jeff Boyce
    > Microsoft Office/Access MVP
    >
    > "JOM" <JOM@discussions.microsoft.com> wrote in message
    > news:72384B0B-7F9B-429B-96C1-C3B5AE98AF36@microsoft.com...
    > > The information in the spreadsheet is coming from a mainfrom program.
    > > The spreadsheet will contain infor such as (this is just an illustration
    > > as
    > > there are about 1o columns)
    > >
    > > loan Number: 123456
    > > Borrower: John
    > > Action Code: XYZ
    > > Action Reason: EM12-123
    > >
    > > loan Number: 123456
    > > Borrower: John
    > > Action Code: XYZ
    > > Action Reason: EF12-100
    > >
    > > loan Number: 789654
    > > Borrower: Mark
    > > Action Code: XYZ
    > > Action Reason: EF12-127
    > > "Jeff Boyce" wrote:
    > >
    > >> It sounds like you are saying there is no way to tell if there are
    > >> duplicates (no unique identifier, possibility of multiple records for
    > >> each
    > >> loan number, etc.).
    > >>
    > >> How do YOU tell that a spreadsheet row is a duplicate?
    > >>
    > >> Regards
    > >>
    > >> Jeff Boyce
    > >> Microsoft Office/Access MVP
    > >>
    > >> "JOM" <JOM@discussions.microsoft.com> wrote in message
    > >> news:70B69D2C-5564-4B5D-9DE6-B218A560B909@microsoft.com...
    > >> >I have a spreadsheet that I would like to import into my database, the
    > >> >thing
    > >> > is that I do no want to import duplicates. The spreadsheet has e.g.,
    > >> > infor
    > >> > such as customer name, loan number comments and alot of other infor.
    > >> > There
    > >> > is no unique identifier in the spreadsheet. the loan number could
    > >> > appear
    > >> > more than once with one or more column differences.
    > >> >
    > >> > So how will import the data into my database and not duplicate rows...
    > >>
    > >>
    > >>

    >
    >
    >
     
  7. Jeff Boyce

    Jeff Boyce
    Expand Collapse
    Guest

    We don't seem to be talking about the same thing.

    Step back from the Access/Excel situation for a moment...

    Imagine you have a stack of papers, each sheet containing a collection of
    data (?a transaction).

    You hand the stack to someone else and say "If you already have a copy of
    one of these sheets in YOUR stack, you can throw MY copy away; otherwise,
    add MY copy to YOUR stack."

    The person you hand the stack to would have to look at YOUR copy and somehow
    figure out if s/he already had a copy of the same sheet. How would s/he
    decide? What data on YOUR sheet would have to match what data on HIS/HER
    sheet for the person to call them a copy?

    Regards

    Jeff Boyce
    Microsoft Office/Access MVP


    "JOM" <JOM@discussions.microsoft.com> wrote in message
    news:B17C5021-CD85-41A0-8A94-493053757476@microsoft.com...
    > Jeff,
    > A loan number needs to be unique, but that would contradict the example I
    > provided. When the data is imported, access generates a PK.
    >
    >
    > "Jeff Boyce" wrote:
    >
    >> Thank you for an example of the data you receive. My question still
    >> stands.
    >> What criteria are YOU using to determine "uniqueness" of a record? You
    >> need
    >> to be able to explain that before you can hope to tell Access how to do
    >> that...
    >>
    >> Regards
    >>
    >> Jeff Boyce
    >> Microsoft Office/Access MVP
    >>
    >> "JOM" <JOM@discussions.microsoft.com> wrote in message
    >> news:72384B0B-7F9B-429B-96C1-C3B5AE98AF36@microsoft.com...
    >> > The information in the spreadsheet is coming from a mainfrom program.
    >> > The spreadsheet will contain infor such as (this is just an
    >> > illustration
    >> > as
    >> > there are about 1o columns)
    >> >
    >> > loan Number: 123456
    >> > Borrower: John
    >> > Action Code: XYZ
    >> > Action Reason: EM12-123
    >> >
    >> > loan Number: 123456
    >> > Borrower: John
    >> > Action Code: XYZ
    >> > Action Reason: EF12-100
    >> >
    >> > loan Number: 789654
    >> > Borrower: Mark
    >> > Action Code: XYZ
    >> > Action Reason: EF12-127
    >> > "Jeff Boyce" wrote:
    >> >
    >> >> It sounds like you are saying there is no way to tell if there are
    >> >> duplicates (no unique identifier, possibility of multiple records for
    >> >> each
    >> >> loan number, etc.).
    >> >>
    >> >> How do YOU tell that a spreadsheet row is a duplicate?
    >> >>
    >> >> Regards
    >> >>
    >> >> Jeff Boyce
    >> >> Microsoft Office/Access MVP
    >> >>
    >> >> "JOM" <JOM@discussions.microsoft.com> wrote in message
    >> >> news:70B69D2C-5564-4B5D-9DE6-B218A560B909@microsoft.com...
    >> >> >I have a spreadsheet that I would like to import into my database,
    >> >> >the
    >> >> >thing
    >> >> > is that I do no want to import duplicates. The spreadsheet has
    >> >> > e.g.,
    >> >> > infor
    >> >> > such as customer name, loan number comments and alot of other infor.
    >> >> > There
    >> >> > is no unique identifier in the spreadsheet. the loan number could
    >> >> > appear
    >> >> > more than once with one or more column differences.
    >> >> >
    >> >> > So how will import the data into my database and not duplicate
    >> >> > rows...
    >> >>
    >> >>
    >> >>

    >>
    >>
    >>
     

Share This Page