473,395 Members | 1,335 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

In a CAN and can't find my way out

I am working on a school project via an online class and ran into head
scratching problem trying to figure out how to tell MS access what I
want it to do.

Real world scenario:
A building has a main phone panel called an MDF. A MDF has many boards
called "tag blocks" and each "tab block" has several line
pairs. To break out the lines on each floor (very simple version) each
floor has a "CAN". Each CAN has one or more "tag blocks" and
each "tab block" has several line pairs.

I have created the following tables: (all fields are of type number)
MDF_TB: with the following fields
MDF_ID= number representing a specific MDF_tag_block and MDF_pair
combination
MDF_tag_block= represents a specific board
MDF_pair= represents which set of wire on a specific board

CAN_TB: the following fields
--------------------------------------
CAN_ID=unique number representing a specific CAN_number, CAN_tag_block
and CAN_pair combination

CAN_number=represents a specific floor in the building

CAN_tag_block= represents specific board

CAN_pair= represents which set of wire on a specific board.

MDF_ID= Fkey to MDF_TB.MDF_ID
To_FROM_connection_TB
To_connection = Fkey to CAN_ID, lookup combo box
From_connection=Fkey to CAN_ID, lookup combo box
PROBLEM:
----------------
How do I represent the following circuit in a form?.

MDF_ID=1
MDF_tag_block=1
MDF_pair=2

Connects to

CAN_num=1, tag_block=3, pair 2

Connected to
CAN_num=2, tag_block=1, pair 3

Connected to
CAN_num=3, tag_block=4, pair 1

Then CAN_num=3, tag_block3, pair1 goes to desk #3 on the second floor.
I have been able to make the relationship between the MDF tag_block,
pair and the first CAN tag_block, pair in the circuit via the lookup
combo box and I can establish the from_connection in a DATASHEET view.
I am able to set the next link in the chain, but when I live that MDF
record set (record #1) and return to that record, the datasheet appears
to have dropped all defined connection except for the first connection.

Is this even doable in MS Access?

Nov 13 '05 #1
1 1128
You've posted a lot of code, which is helpful, but it's hard trying to
follow what you're doing - I don't think you've got it quite right. I think
you'd be better off creating tables for the individual items:

Table MDF_TB
Column MDF_ID = ID for a specific MDF

Table CAN_TB
Column CAN_ID = ID for a specific CAN

Table TAG_TB
Column TAG_ID = ID for a specific tag block

Table LINE_TB
Column LINE_ID = ID for a specific line

You then want to set up a bunch of tables representing the relatinoships
between all of the above. I

Table MDF_TAG_LINK
Column MDF_ID
Column TAG_ID

Table CAN_TAG_LINK
Column CAN_ID
Column TAG_ID

Table CAN_LINE_LINK
Column CAN_ID
Column LINE_ID

Table TAG_LINE_LINK
Column TAG_ID
Column LINE_ID

What's confusing me is that it seems that lines connect to tag (tab?)
blocks which can connect to both CANs and to the MDF? Is that right?

--
Message posted via http://www.accessmonster.com
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Praveen | last post by:
In the ISPF editor I am using, for a particullar PO Dataset I am getting the result of FIND statement narrowed down to the colums 48-56. i.e. if I give "FIND 'TO' ALL", the result I am getting as...
9
by: Peter | last post by:
My problem is the last bit of coding below, the like statement does not work. what I have is a product options field and in it is stored characters i.e. "avcy" etc what the query does is...
3
by: ano1optimist | last post by:
I've got the code to search through a directory for word documents, open the doc, search for specific text... but I'm trying to extract data that immediately follows the selected highlighted text. ...
0
by: amit | last post by:
I want to find out that if there is a mechanism to find a text inside a C# file and replace it with another string. I am using DTE to do it, the find proerty does it, the results are getting...
0
by: AMIT PUROHIT | last post by:
hi, this is a qry which I m stuck up with I want to find out that if there is a mechanism to find a text inside a C# file and replace it with another string. I am using DTE(EnvDTE) to do it,...
0
by: amit | last post by:
hi I have created a tool which does a find and replace thru DTE, now after it is done, it opens up a window, "FIND REACHED THE STARTING POINT OF SEARCH" I want to disbale this window...
3
by: DJTN | last post by:
I'm getting the following error when I try to compile my setup project in VS 2002. I have re-installed the .net framework 1.1 and it didnt solve the problem. WARNING: Unable to find dependency...
3
by: David T. Ashley | last post by:
Hi, Red Hat Enterprise Linux 4.X. I'm writing command-line PHP scripts for the first time. I get the messages below. What do they mean? Are these operating system library modules, or...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.