Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 12th, 2006, 09:41 PM
Registered User
 
Join Date: Sep 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to lushh
Default Tracking of Contract Dates for Employees

hi guys. we are a human resources outsourcing firm. we deploy contractual employees to different companies. i am currently making a human resources database, which consists of our contractual employees' record, which includes their contract dates. i already did a form for their records and a subform for the contracts and it looked like this:

http://i114.photobucket.com/albums/n...16/subform.jpg

i am really a newbie to ms access and vba. i just want to know where can i add a data entry for the contract dates... i tried to type in one of the fields, but it won't allow me to...

if you need the actual database file, here is the link:

http://www.gigafiles.co.uk/files/636...2006-10-11.zip

thanks so much.. and i definitely appreciate the help...

 
Old October 13th, 2006, 06:26 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Wow. That is the most interesting relationship map I have ever seen.

I think you need to base the main form off a single table, and then base the subform off a single table, and this will work.

The fact that each form is based off a very complicated query will prevent data entry from happening.

HTH

mmcdonal
 
Old October 16th, 2006, 03:50 AM
Registered User
 
Join Date: Sep 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to lushh
Default

Thanks for the reply.. =) why did you say that is interesting? =)

should i create new tables?

well, i have this query for the subform:

SELECT tblPosition.PositionName, tblContract.StartDateContract, tblContract.EndDateContract, tblCompany.CompanyName, tblDealer.DealerName, tblOutlet.OutletName
FROM (tblOutlet INNER JOIN (tblDealer INNER JOIN (tblCompany INNER JOIN tblPosition ON tblCompany.CompanyIDPK = tblPosition.CompanyIDFK) ON tblDealer.DealerIDPK = tblPosition.DealerIDFK) ON tblOutlet.OutletIDPK = tblPosition.OutletIDFK) INNER JOIN tblContract ON tblPosition.PositionIDPK = tblContract.PositionIDFK
WHERE (((tblContract.EmployeeIDFK)=[frmEmployee2].[EmployeeIDPK]));

but it doesn't work.. what could be the problem? hope to hear from you again.. sorry for the inconvenience...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 6 : Message Contract Program Example thsun BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 16 January 11th, 2008 12:34 PM
Tracking My mileage rkellogg VB How-To 2 September 6th, 2006 11:19 PM
Tracking who is changing what? rrhandle SQL Server 2000 1 August 15th, 2006 03:03 AM
Tracking Users arimakidd Classic ASP Professional 0 August 17th, 2005 05:35 PM
SESSION tracking natmaster Beginning PHP 1 August 18th, 2003 01:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.