C
CBartman
Posting question as last resort - been using this forum for long time with
wonderful results - great job people.
Bleery eyed search - finding no viable solution.
Labor Time Guide -
Problem: (I guess I would call this a ) 3 dimensional array in an Excel
sheet, with the cell formula being "=if(A1 = "A", "number",if(A1 = "B",
"number",if(A1 = "C", number, "number not found")
"A1" being equal to a user selected list box result (A-Z), which results in
a cell value equal to a labor time ("number").
"Machine" (ModelIndex) <has> many "Systems" / "Systems" <can belongs to> man
different (ModelIndex) "Machines"
"System" <has> many "Groups / "Groups <has only> one "System"
"Groups <has> many "Components" / "Components" <has only> one "Groups
(What you can DO to this component) "JobCode" is a predefined code list
(A-Z) applicable to ALL machines (ModelIndex).
Not every component uses ALL "JobCodes" (Hence the formula to calculate only
the "A1" "JobCode" that pertains to the component, else "Not apllicable"
message)
Excel Array: Left column lists ALL possible components on ALL (ModelIndex),
which is a combination of selected "System|Group|Component" (no "nulls").
"Header column" lists ALL possible Machines (MachineIndex). Not all Machine
use ALL components (many "nulls").
What I visualize here is a table for every ""JobCode" (A-Z), with the fields
being:
Table "JobCodeA" - ComponentCode | MachineCode | LaborTime
Table "JobCodeB" - ComponentCode | MachineCode | LaborTime
etc, etc...
Massive redundancy, massive "nulls", every table would inculde ALL
components and All Machine Codes... Hmmm. (not very efficient)
The only difference in the tables would be the time entered, based on the
table name. Must to be a better way.
The tables for selecting the model of machine, the system, the group, and
the component went well, but populating records with LaborTime is based on
JobCode, which is where I'm stuck.
Excel allowed me to put a formula (above) in "LaborTime" cell, where I could
display "LaborTime" based on "JobCode", using only the JobCode that pertained
to THAT component on THAT machine. (No redundancy, some (acceptable) "nulls").
Labor Times may change in the future (Table Update).
Requested expansion to many other machines. (Migrating to DBMS from Excel).
LaborTime table design? Duh...dazed and confused.
(Sorry this ended up being so long)
"Subject should be a brief, meaningful summary of your question or comment"
Thoughts?
wonderful results - great job people.
Bleery eyed search - finding no viable solution.
Labor Time Guide -
Problem: (I guess I would call this a ) 3 dimensional array in an Excel
sheet, with the cell formula being "=if(A1 = "A", "number",if(A1 = "B",
"number",if(A1 = "C", number, "number not found")
"A1" being equal to a user selected list box result (A-Z), which results in
a cell value equal to a labor time ("number").
"Machine" (ModelIndex) <has> many "Systems" / "Systems" <can belongs to> man
different (ModelIndex) "Machines"
"System" <has> many "Groups / "Groups <has only> one "System"
"Groups <has> many "Components" / "Components" <has only> one "Groups
(What you can DO to this component) "JobCode" is a predefined code list
(A-Z) applicable to ALL machines (ModelIndex).
Not every component uses ALL "JobCodes" (Hence the formula to calculate only
the "A1" "JobCode" that pertains to the component, else "Not apllicable"
message)
Excel Array: Left column lists ALL possible components on ALL (ModelIndex),
which is a combination of selected "System|Group|Component" (no "nulls").
"Header column" lists ALL possible Machines (MachineIndex). Not all Machine
use ALL components (many "nulls").
What I visualize here is a table for every ""JobCode" (A-Z), with the fields
being:
Table "JobCodeA" - ComponentCode | MachineCode | LaborTime
Table "JobCodeB" - ComponentCode | MachineCode | LaborTime
etc, etc...
Massive redundancy, massive "nulls", every table would inculde ALL
components and All Machine Codes... Hmmm. (not very efficient)
The only difference in the tables would be the time entered, based on the
table name. Must to be a better way.
The tables for selecting the model of machine, the system, the group, and
the component went well, but populating records with LaborTime is based on
JobCode, which is where I'm stuck.
Excel allowed me to put a formula (above) in "LaborTime" cell, where I could
display "LaborTime" based on "JobCode", using only the JobCode that pertained
to THAT component on THAT machine. (No redundancy, some (acceptable) "nulls").
Labor Times may change in the future (Table Update).
Requested expansion to many other machines. (Migrating to DBMS from Excel).
LaborTime table design? Duh...dazed and confused.
(Sorry this ended up being so long)
"Subject should be a brief, meaningful summary of your question or comment"
Thoughts?