Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    6

    Thumbs down Add new Recordset using Recorset by Query

    I have 3 tables; tblSalaries, tblEmployess, tblPayperiod


    tblEmployees & tblPayperiod are joined to the main table tblSalaries.
    Currently I am manually creating new salary records for different pay periods.

    What code do I use to automatically create new salary records on tblSalaries for the next pay period. Nb: tblSalaries have SalaryID, EmployeeID, PayperiodID,etc.........

    Please help as doing this manually every forthnight is becoming tedious for me.

  2. #2
    Join Date
    Oct 2008
    Posts
    6

    Creating new records on the same table by copying from previous values

    I have 3 tables; tblSalaries, tblEmployess, tblPayperiod
    tblEmployees & tblPayperiod are joined to the main table tblSalaries.

    Nb: tblSalaries have SalaryID, EmployeeID, PayperiodID,etc.........

    Currently I am manually creating new salary records for different pay periods by copying the previous values to create the new salary record and just changing the payid field to indicate the new payperiod. This creates the new record.

    What code do I use to automatically create new salary records for all Employees for the next(new) pay period on tblSalaries??

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Create a recordset for a report
    By vjboaz in forum Programming
    Replies: 0
    Last Post: 11-18-2008, 03:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums