473,796 Members | 2,625 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 1937
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
1589
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 database i don't get the option to create a new view. Can anyone tell me what might be wrong. Thanks Len
0
1036
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) In eVB one can get the version info like this: CStr(app.major) + "." + CStr(App.Minor) + " " + App.LegalCopyright How is this done in VB.NET 2003?
5
3276
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 this happens, the error returned is:
2
1943
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 Copyright (c) 1996 Regents of the University of California Read the file COPYRIGHT or use the command \copyright to see the usage and
4
1661
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 have a table t_table1 with 2 columns plus a PK. Normally my table with some data would look like: t_table1 ------------------ PK | col1 | col2
68
5185
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 released by the Gartner Group on Monday. With 34.1 percent of the overall market, IBM holds a slim margin over its closest competitor, Oracle Corp., which maintains 33.7 percent of the overall market. Microsoft Corp. follows up with 20 percent of...
6
1827
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 to be possible without putting a lot of ugly and difficult to maintain if statements all throughout in the code. To be honest, I'm still a little inexperienced with general industry practices. What do most people do when they make changes to the...
7
34799
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 data from ADO.NET Datasets that are pre-populated by other modules of the application. What I need to do is to use these datasets as the datasources of my reports. Fine, I know how to do that and it works perfectly on my development box. The...
22
3306
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 load DLL (aspnet_isapi.dll)." Of course the dll is able to be found, it's still in the framework directory and for grins I even put it in my service's local directory. This is apparantly server 2003 not allowing asp.net to be run if IIS was not...
3
1468
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 tables and keys but i just cant seem to find a "starting point" in VB.net. 1. Where do I go create a db if i only installed vb.net ? / What do I use 2. Or is there a good tutorial somewhere of what to do. I have 3 books and
0
9685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9533
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10239
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10019
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9057
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7555
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5447
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.