J
Jan
Hi all,
I can use some help with the following application. I hope some of you can help.
I think the table-design is OK, but remarks are welcome.
The situation is as follows:
- We have a large site with lots op so called Concentration Points (CP's)
- Fiber optic cables connect the different CP's, so each cable has it's starting
point, it's endpoint, and a certain length
- Each cable consists of different pairs
- In a CP, a pair from a cable can provide an uplink for some active equipment
(switch) in that CP, or a pair can be patched to another pair, which goes to
another CP at it's turn.
I have the following tables:
- ContentrationPoint (CPID, CPName)
- Fibers (FiberID,FiberName,CPID1,CPID2,Pairs,Length) with CPID1 the starting
point, and CPID2 the endpoint
- Pairs (FiberPairID, FiberID, Pair, UsedInUplinkFrom)
- Switches (SwitchID, SwitchName)
- Patches (PatchID, PairID, PatchedToAtCP1, PatchedToAtCP2)
I can make the forms to enter data for the fibers, the pairs, etc., which is
quite easy, but I want to have a form to enter the patches like this:
- I choose a pair (which is a conbination of FiberName and Pair)
- Then i get a list (drop-down) of all possible other pairs where it can be
patched to at CP1 (corresponding to the table Fibers), and the same at CP2.
Pairs at that certain CP which are already connected to an other pair, should
not appear.
I would like to have a query for this, and I also don't know immediately how I
can make the data for a dropdown in field 2 depend on the data in field 1 of
record A.
Thank you very much.
Jan
I can use some help with the following application. I hope some of you can help.
I think the table-design is OK, but remarks are welcome.
The situation is as follows:
- We have a large site with lots op so called Concentration Points (CP's)
- Fiber optic cables connect the different CP's, so each cable has it's starting
point, it's endpoint, and a certain length
- Each cable consists of different pairs
- In a CP, a pair from a cable can provide an uplink for some active equipment
(switch) in that CP, or a pair can be patched to another pair, which goes to
another CP at it's turn.
I have the following tables:
- ContentrationPoint (CPID, CPName)
- Fibers (FiberID,FiberName,CPID1,CPID2,Pairs,Length) with CPID1 the starting
point, and CPID2 the endpoint
- Pairs (FiberPairID, FiberID, Pair, UsedInUplinkFrom)
- Switches (SwitchID, SwitchName)
- Patches (PatchID, PairID, PatchedToAtCP1, PatchedToAtCP2)
I can make the forms to enter data for the fibers, the pairs, etc., which is
quite easy, but I want to have a form to enter the patches like this:
- I choose a pair (which is a conbination of FiberName and Pair)
- Then i get a list (drop-down) of all possible other pairs where it can be
patched to at CP1 (corresponding to the table Fibers), and the same at CP2.
Pairs at that certain CP which are already connected to an other pair, should
not appear.
I would like to have a query for this, and I also don't know immediately how I
can make the data for a dropdown in field 2 depend on the data in field 1 of
record A.
Thank you very much.
Jan