If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Creating Relationships and Forms

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-12-12, 18:16
mveda2004 mveda2004 is offline
Registered User
 
Join Date: Oct 2011
Posts: 4
Creating Relationships and Forms

Hello Everyone,

I am trying to create a vacations database.. so one table has employee first name, last name , leader, department. another table has vac start date, end date, start time, end time, hours. All this information is going to be inputted by the emp via a form. For each emp there may be multiple vac requests. How do i create that relationship & form. I have attached what I have got so far.
Attached Files
File Type: zip vactest1.zip (87.3 KB, 0 views)
Reply With Quote
  #2 (permalink)  
Old 02-13-12, 04:10
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
to create a relationship you need to have columns of the same datatype in both tables. if you use an autonumber column in th eparent table then use numeric | long in the child table

the following is form memory, so it may well NOT be exactly the process in Access
to create the relationship open the relationships window, add the tables youneed to define relationships on
then click on the column in one table and drag to the other table. change the properties of the relationship as required
nearly always I select 'enforce relational Integrity'
usually cascade update
rarely delete cascade. ' its unusual to delete old rows
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On