Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default a value in Query

Status
Not open for further replies.

ecugrad

MIS
Apr 17, 2001
191
US
I have two tables "tblEmployees and "tblResults", the employees tables holds current salary dollars and results holds incentive points, etc. My relationship is a one(Employees) to many (Results)using EmployeeID as the key. For each new record input in the Results table I want to pull the current salary dollars from the employees table to populate the salary field in the result table. I do incentive calculations per month and roll them up each quarter and need to hold the historical salary dollar amount for that month in the result table.

How do I default the salary data in the Employees.salary field to the salary data in the Results.salary field for each record entered.


Thanks......
 
Depends how you are doing the insert.... is it from a form, SQL, directly in the datasheet view etc etc Best Regards,
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top