A Microsoft Office (Excel, Word) forum. OfficeFrustration

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   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Can't join



 
 
Thread Tools Display Modes
  #1  
Old November 5th, 2008, 09:00 PM posted to microsoft.public.access.tablesdbdesign
JimS
external usenet poster
 
Posts: 252
Default Can't join

I have an A2007 backend db (recently converted from A2003) with a new simple
tables. tblWOTasks is a list of tasks needed to be completed on a work order.
Only a few fields:
ID Primary Key
WorkOrderID Lookup item linked to Work Order table by its primary key
TaskDescription Description of a task
TargetHours Goal of hours to be worked on that task
TargetCCD Goal of completion date for the task

I created this tables in a "sandbox" for testing. When I imported the tables
into the production backend, I didn't pay any attention to relationships for
awhile. Now, I'm noticing that there is no relationship shown in the
relationship window between tblWOTasks and the WorkOrder table. No problem, I
went to insert the relationship but it won't let me. I get a circle with a
slash through it.

I need to set referential integrity, and cascading deletes. What am I doing
wrong? Do I need to start from scratch? It wouldn't be too hard. No data yet.
--
Jim
  #2  
Old November 5th, 2008, 09:28 PM posted to microsoft.public.access.tablesdbdesign
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Can't join

Run an Unmatched query on tblWOTasks and WorkOrder tables to see where you
have records that do not have a relationship. Then create the records in the
other table.

--
KARL DEWEY
Build a little - Test a little


"JimS" wrote:

I have an A2007 backend db (recently converted from A2003) with a new simple
tables. tblWOTasks is a list of tasks needed to be completed on a work order.
Only a few fields:
ID Primary Key
WorkOrderID Lookup item linked to Work Order table by its primary key
TaskDescription Description of a task
TargetHours Goal of hours to be worked on that task
TargetCCD Goal of completion date for the task

I created this tables in a "sandbox" for testing. When I imported the tables
into the production backend, I didn't pay any attention to relationships for
awhile. Now, I'm noticing that there is no relationship shown in the
relationship window between tblWOTasks and the WorkOrder table. No problem, I
went to insert the relationship but it won't let me. I get a circle with a
slash through it.

I need to set referential integrity, and cascading deletes. What am I doing
wrong? Do I need to start from scratch? It wouldn't be too hard. No data yet.
--
Jim

  #3  
Old November 5th, 2008, 09:42 PM posted to microsoft.public.access.tablesdbdesign
JimS
external usenet poster
 
Posts: 252
Default Can't join

Both tables are empty
--
Jim


"KARL DEWEY" wrote:

Run an Unmatched query on tblWOTasks and WorkOrder tables to see where you
have records that do not have a relationship. Then create the records in the
other table.

--
KARL DEWEY
Build a little - Test a little


"JimS" wrote:

I have an A2007 backend db (recently converted from A2003) with a new simple
tables. tblWOTasks is a list of tasks needed to be completed on a work order.
Only a few fields:
ID Primary Key
WorkOrderID Lookup item linked to Work Order table by its primary key
TaskDescription Description of a task
TargetHours Goal of hours to be worked on that task
TargetCCD Goal of completion date for the task

I created this tables in a "sandbox" for testing. When I imported the tables
into the production backend, I didn't pay any attention to relationships for
awhile. Now, I'm noticing that there is no relationship shown in the
relationship window between tblWOTasks and the WorkOrder table. No problem, I
went to insert the relationship but it won't let me. I get a circle with a
slash through it.

I need to set referential integrity, and cascading deletes. What am I doing
wrong? Do I need to start from scratch? It wouldn't be too hard. No data yet.
--
Jim

  #4  
Old November 5th, 2008, 10:13 PM posted to microsoft.public.access.tablesdbdesign
JimS
external usenet poster
 
Posts: 252
Default Can't join

I bludgeoned it to death. I recreated the table that wouldn't join. That
worked.
--
Jim


"JimS" wrote:

Both tables are empty
--
Jim


"KARL DEWEY" wrote:

Run an Unmatched query on tblWOTasks and WorkOrder tables to see where you
have records that do not have a relationship. Then create the records in the
other table.

--
KARL DEWEY
Build a little - Test a little


"JimS" wrote:

I have an A2007 backend db (recently converted from A2003) with a new simple
tables. tblWOTasks is a list of tasks needed to be completed on a work order.
Only a few fields:
ID Primary Key
WorkOrderID Lookup item linked to Work Order table by its primary key
TaskDescription Description of a task
TargetHours Goal of hours to be worked on that task
TargetCCD Goal of completion date for the task

I created this tables in a "sandbox" for testing. When I imported the tables
into the production backend, I didn't pay any attention to relationships for
awhile. Now, I'm noticing that there is no relationship shown in the
relationship window between tblWOTasks and the WorkOrder table. No problem, I
went to insert the relationship but it won't let me. I get a circle with a
slash through it.

I need to set referential integrity, and cascading deletes. What am I doing
wrong? Do I need to start from scratch? It wouldn't be too hard. No data yet.
--
Jim

 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:24 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.