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 September 6th, 2004, 05:37 PM
Authorized User
 
Join Date: Aug 2004
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default I HAVE A QUESTION ABOUT INTERMEDIATE TABLES

Hi All,
I have 3 tables in my database: tblIntermediate, tblPrinters & tblSystems. tblIntermediate is my junction table and I have created 2 one-to-many relationships. 1 between tblPrinters & tblIntermediate and 1 between tblSystems & tblIntermediate. I have cascade update and cascade delete selected on both relationships. The trouble I am having is I want to be able to add data into tblPrinters and have it automatically go into tblIntermediate. Right now if I enter information into tblPrinters I have to add it to tblIntermediate as well, manually. Is it normal to have to update the same information twice when you have an intermediate table?
 
Old September 7th, 2004, 10:35 AM
Authorized User
 
Join Date: Jul 2004
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What function does the TblIntermediate serve? If you insert into tblIntermediate, you can create a trigger/stored procedure that will insert into Systems or Printers. dependig on the "type" if it is defined.
 
Old September 7th, 2004, 06:02 PM
Authorized User
 
Join Date: Aug 2004
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I figured it out.






Similar Threads
Thread Thread Starter Forum Replies Last Post
beginning to intermediate to professional. shegxzyl PHP FAQs 1 May 14th, 2009 10:49 AM
How to sum nodes with some intermediate process r2u_2 XSLT 3 January 7th, 2008 01:41 AM
intermediate storage sarah lee ASP.NET 1.0 and 1.1 Basics 3 September 11th, 2006 01:31 PM
Intermediate to advanced ASP 3.0 Book conundrum Classic ASP Professional 3 October 12th, 2003 12:35 PM
Beginner, intermediate or Pro? psychadelic Beginning VB 6 5 June 17th, 2003 12:14 AM





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