473,498 Members | 98 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

New Database - 2003 Version-Access

9 New Member
II am hoping someone out there will be able to give me some guidance, as I am about to give up. I have been working on this for some time and I think I have looked at it so much that I can't even think straight.

I am working on a database to help track projects. There are three different types of projects/screens that I need. What I have so far:

TABLE: Taskers (Screen/form 1)
FIELDS:
RMTaskerID – Autonumber/Primary Key
CGTaskerNmbr - Text
RMB - yes/no
RMC - yes/no
RMF - yes/no
DuetoRM - Date
Subject - Text
Description - Text
Completed - yes/no
FrequencyID - Number/Foreign key (Table: Frequency)
POCID - Number/Foreign key (Table: POCList)
RecvdFromID - Number/Foreign key (Table: RecvdFrom)

TABLE: SignatureLog (Screen/form 2)
SignatureID – Autonumber/Primary Key
Subject - Text
Description - Text
Completed - yes/no
FrequencyID - Number/Foreign key (Table: Frequency)
POCID - Number/Foreign key (Table: POCList)
RecvdFromID - Number/Foreign key (Table: RecvdFrom)

TABLE: CSALog (Screen/form 3)
CSAID – Autonumber/Primary Key
EM – yes/no
HardCopy – yes/no
Subject - Text
Description - Text
Completed - yes/no
FrequencyID - Number/Foreign key (Table: Frequency)
POCID - Number/Foreign key (Table: POCList)
RecvdFromID - Number/Foreign key (Table: RecvdFrom)

TABLE: Actions
ActionID – Autonumber/Primary Key
DateofAction – date
NotesRemarks – text
CSAID
SignatureID
RMTaskerID
POCID

TABLE: Frequency (List: Weekly, Monthly, Yearly, etc.)
FrequencyID – Autonumber/Primary Key

TABLE: ReceivedFrom (List of divisions assignment came from)
RecvdFromID – Autonumber/Primary Key
RecevdFrom – text

TABLE: POCList (List of employees)
POCID – Autonumber/Primary Key
LastName – text
FirstName – text
Extension – text

What I need are three different screens for tracking and each record will need their own unique number for each record added. There will be many actions to each record/project.

When trying to connect relationship between table Signaturelog and Actions I keep getting the error message:

**Data in the table 'tblActions' violates referential integrity rules. For example, there may be records relating to an employee in the related table, but no record f or the employee in the primary table.
Edit the data so that records in the primary table exist for all related records.**

I haven’t done one of these in some time and I know there’s something wrong with the relationships….

I have a subform for actions which I developed for the Tasker table and it seems to be working okay, but can’t get any further. What is wrong with this setup??

I don’t necessarily have to have it setup this way, but need to be able to have unique numbers for each record for each table:
Taskers
CSALog
SignatureLog

I know there are some fields that are the same and used in all three tables – is there a way to have only one table (instead of three) but be able to have an autonumber generated for each different project/record when each separate form is opened? (I will have a different form for each one CSA, Signature, Taskers.)
The table/fields would be:
TABLE: Projects
ProjectID - Autonumber
CGTaskerNmbr - Text
RMB - yes/no
RMC - yes/no
RMF - yes/no
EM – yes/no
Hardcopy – yes/no
DuetoRM - Date
Subject - Text
Description - Text
Completed - yes/no
FrequencyID - Number/Foreign key (Table: Frequency)
POCID - Number/Foreign key (Table: POCList)
RecvdFromID - Number/Foreign key (Table: RecvdFrom)

Thanks for your help.

Sandra
Feb 14 '07 #1
1 1922
Rabbit
12,516 Recognized Expert Moderator MVP
II am hoping someone out there will be able to give me some guidance, as I am about to give up. I have been working on this for some time and I think I have looked at it so much that I can't even think straight.

I am working on a database to help track projects. There are three different types of projects/screens that I need. What I have so far:

TABLE: Taskers (Screen/form 1)
FIELDS:
RMTaskerID – Autonumber/Primary Key
CGTaskerNmbr - Text
RMB - yes/no
RMC - yes/no
RMF - yes/no
DuetoRM - Date
Subject - Text
Description - Text
Completed - yes/no
FrequencyID - Number/Foreign key (Table: Frequency)
POCID - Number/Foreign key (Table: POCList)
RecvdFromID - Number/Foreign key (Table: RecvdFrom)

TABLE: SignatureLog (Screen/form 2)
SignatureID – Autonumber/Primary Key
Subject - Text
Description - Text
Completed - yes/no
FrequencyID - Number/Foreign key (Table: Frequency)
POCID - Number/Foreign key (Table: POCList)
RecvdFromID - Number/Foreign key (Table: RecvdFrom)

TABLE: CSALog (Screen/form 3)
CSAID – Autonumber/Primary Key
EM – yes/no
HardCopy – yes/no
Subject - Text
Description - Text
Completed - yes/no
FrequencyID - Number/Foreign key (Table: Frequency)
POCID - Number/Foreign key (Table: POCList)
RecvdFromID - Number/Foreign key (Table: RecvdFrom)

TABLE: Actions
ActionID – Autonumber/Primary Key
DateofAction – date
NotesRemarks – text
CSAID
SignatureID
RMTaskerID
POCID

TABLE: Frequency (List: Weekly, Monthly, Yearly, etc.)
FrequencyID – Autonumber/Primary Key

TABLE: ReceivedFrom (List of divisions assignment came from)
RecvdFromID – Autonumber/Primary Key
RecevdFrom – text

TABLE: POCList (List of employees)
POCID – Autonumber/Primary Key
LastName – text
FirstName – text
Extension – text

What I need are three different screens for tracking and each record will need their own unique number for each record added. There will be many actions to each record/project.

When trying to connect relationship between table Signaturelog and Actions I keep getting the error message:

**Data in the table 'tblActions' violates referential integrity rules. For example, there may be records relating to an employee in the related table, but no record f or the employee in the primary table.
Edit the data so that records in the primary table exist for all related records.**

I haven’t done one of these in some time and I know there’s something wrong with the relationships….

I have a subform for actions which I developed for the Tasker table and it seems to be working okay, but can’t get any further. What is wrong with this setup??

I don’t necessarily have to have it setup this way, but need to be able to have unique numbers for each record for each table:
Taskers
CSALog
SignatureLog

I know there are some fields that are the same and used in all three tables – is there a way to have only one table (instead of three) but be able to have an autonumber generated for each different project/record when each separate form is opened? (I will have a different form for each one CSA, Signature, Taskers.)
The table/fields would be:
TABLE: Projects
ProjectID - Autonumber
CGTaskerNmbr - Text
RMB - yes/no
RMC - yes/no
RMF - yes/no
EM – yes/no
Hardcopy – yes/no
DuetoRM - Date
Subject - Text
Description - Text
Completed - yes/no
FrequencyID - Number/Foreign key (Table: Frequency)
POCID - Number/Foreign key (Table: POCList)
RecvdFromID - Number/Foreign key (Table: RecvdFrom)

Thanks for your help.

Sandra
Take a look at Normalisation and Table Structures. This will help you to better organize your tables.

As for your problems, I haven't done an in depth analysis of your tables but it seems to me that you have records in your foreign key tables that do not have matching records in the primary key tables. For every record with a foreign key, there has to be a matching record in the table with a primary key. The opposite is not true. You can have a primary keyed record without foreign keyed records.
So check that all your foreign keys have a matching primary key.

I have a subform for actions which I developed for the Tasker table and it seems to be working okay, but can’t get any further.
You can't get any further than what? What's the hurdle that's stopping you? Where are you trying to get to?

It's best not to have repeating data over between and within tables. The link above will further explain.
Feb 14 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1560
by: len C | last post by:
I have the msdnaa version of visual studio.net 2003 it is supposed to have the data tools but doesn't. for instance when I right click on view in the server explorer while in the sql 2000 northwind...
0
1018
by: EMW | last post by:
Hi, I just started on my very first .NET application and it is for my pocket pc. I managed to create my forms and show then when I want to, but there are two things I cannot seem to find: 1)...
5
3253
by: Frank van Vugt | last post by:
Hi, I noticed that when using the single commandline: drop database <name>; create database <name>; this sometimes fails due to a pg_autovacuum process running on the background. When...
2
1921
by: Ausrack Webmaster | last post by:
Nobody got any ideas on the below problem? :-( # psql -V psql (PostgreSQL) 7.0.2 contains readline, history, multibyte support Portions Copyright (c) 1996-2000, PostgreSQL, Inc Portions...
4
1639
by: Octavio Alvarez | last post by:
Hi! I would like to implement a database which allows me to keep track of changes from users, but I don't know if there is any model already used for this. Let me show you what I mean. Say I...
68
5092
by: rkusenet | last post by:
http://www.eweek.com/article2/0,1759,1820667,00.asp The database market grew by 10.3 percent in 2004, fueled largely by hunger for business intelligence and analytics, according to numbers...
6
1815
by: headware | last post by:
I have a general question for anyone who would like to give me input. My boss is interested in making our interface backward compatible with all previous databases. I'm not really sure that's going...
7
34750
by: TJoker .NET | last post by:
I'm developing an VB.NET Windows Forms application that uses CR for VS.NET (original version shipped with VS.NET 2002 - my VS.NET has the latest SP installed, no SPs for CR). My reports get their...
22
3236
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to...
3
1448
by: Miro | last post by:
Ok im a newbie to VB, and am having some trouble reading msdn help / or how it all links together. My books are either missing a step / or assume everything is set up correctly. I know about...
0
7124
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6998
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7375
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4904
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1416
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
651
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.