Welcome to SPN

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

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

Linking tables and adding fields

Discussion in 'Information Technology' started by Adam Armstrong, Nov 12, 2005.

  1. Adam Armstrong

    Adam Armstrong
    Expand Collapse
    Guest

    Hi all

    I have a problem in that I need to manipulate data contained in a
    database to conform to some weird pension rules. The gross/net pay is
    stored according to pay period, but the individual pay elements are only
    stored on a temporary basis. For example, I have one table called Pay,
    with fields for Employee ID, PayPeriod, GrossPay, NetPay, .... and
    another table called VAR (for variable pay elements). The VAR table
    changes every month, and doesn't maintain records according to
    PayPeriod.

    These tables cannot be changed as they are part of a payroll package.
    However, I have created a second database that links to the payroll one.
    As I need to create a record of the variable pay elements for each pay
    period, I was wondering if there is a way to link the tables, but be
    able to force a PayPeriod field into the data so that it doesn't
    overwrite the previous pay periods details. Either that, or import the
    details directly into a table, but have a query which asks for which pay
    period the information relates to. Does any of this make sense?!

    Any and all help would be gratefully received!

    Adam
     
  2. Loading...


  3. Arvin Meyer [MVP]

    Arvin Meyer [MVP]
    Expand Collapse
    Guest

    It makes absolute sense. Fortunately Access is one of the very few DBMS that
    can connect dissimilar data sources in a query. As long as you aren't
    updating one of the accounting tables, you can experiment until you get what
    you need. To get the data from the second database, choose File ... Get
    External Data ... Link and add the ones you want.
    --
    Arvin Meyer, MCP, MVP
    Microsoft Access
    Free Access downloads
    http://www.datastrat.com
    http://www.mvps.org/access

    "Adam Armstrong" <a_p_s@tiscali.co.uk> wrote in message
    news:4375154d$1_4@mk-nntp-2.news.uk.tiscali.com...
    > Hi all
    >
    > I have a problem in that I need to manipulate data contained in a
    > database to conform to some weird pension rules. The gross/net pay is
    > stored according to pay period, but the individual pay elements are only
    > stored on a temporary basis. For example, I have one table called Pay,
    > with fields for Employee ID, PayPeriod, GrossPay, NetPay, .... and
    > another table called VAR (for variable pay elements). The VAR table
    > changes every month, and doesn't maintain records according to
    > PayPeriod.
    >
    > These tables cannot be changed as they are part of a payroll package.
    > However, I have created a second database that links to the payroll one.
    > As I need to create a record of the variable pay elements for each pay
    > period, I was wondering if there is a way to link the tables, but be
    > able to force a PayPeriod field into the data so that it doesn't
    > overwrite the previous pay periods details. Either that, or import the
    > details directly into a table, but have a query which asks for which pay
    > period the information relates to. Does any of this make sense?!
    >
    > Any and all help would be gratefully received!
    >
    > Adam
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page