A
~ angel ~ via AccessMonster.com
I have a table named ProgramCodes and it may need to be redone.
the fields in this table are:
1. Guitar (item)
2. Option (item)
3. Code (code the user enters for the Guitar and Guitar w/ Option(s)
combinations.
So I've created a form and a sub form for the user to be able to enter the
Codes per Guitar and Guitar w/ Option(s)
The main form is just the Guitar item the user can search to find the Guitar
itemto start entering the Codes and combinations by entering the Option items
for the Guitar combo. The record source is from the Guitars table (which is
just all the guitar items)
The sub form is all the fields of the ProgramCodes table.
Linked by the Guitar item.
Please help me how to achieve the following
as noted:
Guitar is an Item
Option is an Item
Code is what the programmer uses for their understanding of how to program
their machines to make the guitar with options if any.
This field (Code) in the ProgramCodes table (and form) is a free-from and
just a text file for the programmer (user) to enter the code(s) associated to
the guitar and guitar with option combos.
So someone purchases a guitar and select several options or not, there will
be various Code (programming codes) to build that guitar is the guitar item
is just the bare guitar (skeleton / shell).
The options make up the different features on the guitar. The programming
codes make these features function in their special ways.
How can the Codes get entered into a table or tables if the current
ProgramCodes table is insufficient so that when you query on, say 127R-RB,
you get all the invoices with DC135 guitar item with ONLY RB as an option
item.
or if you query on an invoice with DC135 to see the programming code you get
the result of just 125R and 135T IF and only IF that item on the invoice had
no option.
or if you query on an invoice with DC135 and the invoice has options 26 and
RB that it'll only show 127R-RB and 136T-RB as my Code result BUT it can't
show the Code for just the 26 or just the RB, it needs to show the combined
Option's Code.
here are the results that need to be obtained
DC135 is a Guitar item:
DC135 without any Options should be assigned Codes = 125R and 135T
DC135 with RB as an Option and should be assigned Codes = 127R-RB and 135T-RB
DC135 with 26 as an Option and should be assigned Codes = 125R and 136T
DC135 with 29 as an option and should be assigned Codes = 125R and 139T
DC135 with 26 & RB are Options and should be assigned Codes = 127R-RB and
136T-RB
DC135 with 29 & RB are Options and should be these Codes = 127R-RB and 139T-
RB (it can not display any of the other codes above, it can only display this
code for this combo)
I hope i made sense. I don't want to complicate this anymore then it is by
itself.
The other tables with Invoice information is insignificant for what needs
happen here with the Codes in ProgramCodes table.
Thank you!
the fields in this table are:
1. Guitar (item)
2. Option (item)
3. Code (code the user enters for the Guitar and Guitar w/ Option(s)
combinations.
So I've created a form and a sub form for the user to be able to enter the
Codes per Guitar and Guitar w/ Option(s)
The main form is just the Guitar item the user can search to find the Guitar
itemto start entering the Codes and combinations by entering the Option items
for the Guitar combo. The record source is from the Guitars table (which is
just all the guitar items)
The sub form is all the fields of the ProgramCodes table.
Linked by the Guitar item.
Please help me how to achieve the following
as noted:
Guitar is an Item
Option is an Item
Code is what the programmer uses for their understanding of how to program
their machines to make the guitar with options if any.
This field (Code) in the ProgramCodes table (and form) is a free-from and
just a text file for the programmer (user) to enter the code(s) associated to
the guitar and guitar with option combos.
So someone purchases a guitar and select several options or not, there will
be various Code (programming codes) to build that guitar is the guitar item
is just the bare guitar (skeleton / shell).
The options make up the different features on the guitar. The programming
codes make these features function in their special ways.
How can the Codes get entered into a table or tables if the current
ProgramCodes table is insufficient so that when you query on, say 127R-RB,
you get all the invoices with DC135 guitar item with ONLY RB as an option
item.
or if you query on an invoice with DC135 to see the programming code you get
the result of just 125R and 135T IF and only IF that item on the invoice had
no option.
or if you query on an invoice with DC135 and the invoice has options 26 and
RB that it'll only show 127R-RB and 136T-RB as my Code result BUT it can't
show the Code for just the 26 or just the RB, it needs to show the combined
Option's Code.
here are the results that need to be obtained
DC135 is a Guitar item:
DC135 without any Options should be assigned Codes = 125R and 135T
DC135 with RB as an Option and should be assigned Codes = 127R-RB and 135T-RB
DC135 with 26 as an Option and should be assigned Codes = 125R and 136T
DC135 with 29 as an option and should be assigned Codes = 125R and 139T
DC135 with 26 & RB are Options and should be assigned Codes = 127R-RB and
136T-RB
DC135 with 29 & RB are Options and should be these Codes = 127R-RB and 139T-
RB (it can not display any of the other codes above, it can only display this
code for this combo)
I hope i made sense. I don't want to complicate this anymore then it is by
itself.
The other tables with Invoice information is insignificant for what needs
happen here with the Codes in ProgramCodes table.
Thank you!