ngkatsaras
IS-IT--Management
I'm hoping that subject will be catchy! But honestly, this is a database for a women's lingerie manufacturer.
I need to automate our UPC ticket printing order form, we've been doing this manually and it's something that has been taking up too much time doing it manually!
In our database, each item has an Item_no
Here are some examples:
Bra
4901-BLK-36D
Panty
4534-RED-S/M
The first part of the Item_no is the style, color, then size, we break this up in a query as follows
|STYLE: CStr(Left([OEORDLIN].[Item_no],4)) | COLOR: CStr(Mid([OEORDLIN].[Item_no],6,3)) | SIZE (Human Readable): CStr(Mid([OEORDLIN].[Item_no],10,3))
I need to add a column that will convert the size from 32A to A, L to Large, M/L to Medium, etc.. as follows:
ID SIZE (Human Readable) SIZE (Letter Only)
1 32A A
2 32B B
3 32C C
4 32D D
5 34A A
6 34B B
7 34C C
8 34D D
9 36A A
10 36B B
11 36C C
12 36D D
13 38A A
14 38B B
15 38C C
16 38D D
17 L Large
18 M Medium
19 M/L Medium
20 ONE ONE
21 S Small
22 S/M Small
I've created the above table in access named "Sizes Reference".
I know that the column headings may seem someone confusing, but this query is exported as an excel file to be imported into the label printer's system, so the column headers need to be what they are.
I can't update the original SQL database, which is why I created the table in access. I couldn't figure out how to create a relationship with the Size (Human Readable) in the query and the same column in my "conversion" table.
I can clarify this further, but I wanted to get this much online for the time being.
I really appreciate any help.
Thanks!
Nick Katsaras
I need to automate our UPC ticket printing order form, we've been doing this manually and it's something that has been taking up too much time doing it manually!
In our database, each item has an Item_no
Here are some examples:
Bra
4901-BLK-36D
Panty
4534-RED-S/M
The first part of the Item_no is the style, color, then size, we break this up in a query as follows
|STYLE: CStr(Left([OEORDLIN].[Item_no],4)) | COLOR: CStr(Mid([OEORDLIN].[Item_no],6,3)) | SIZE (Human Readable): CStr(Mid([OEORDLIN].[Item_no],10,3))
I need to add a column that will convert the size from 32A to A, L to Large, M/L to Medium, etc.. as follows:
ID SIZE (Human Readable) SIZE (Letter Only)
1 32A A
2 32B B
3 32C C
4 32D D
5 34A A
6 34B B
7 34C C
8 34D D
9 36A A
10 36B B
11 36C C
12 36D D
13 38A A
14 38B B
15 38C C
16 38D D
17 L Large
18 M Medium
19 M/L Medium
20 ONE ONE
21 S Small
22 S/M Small
I've created the above table in access named "Sizes Reference".
I know that the column headings may seem someone confusing, but this query is exported as an excel file to be imported into the label printer's system, so the column headers need to be what they are.
I can't update the original SQL database, which is why I created the table in access. I couldn't figure out how to create a relationship with the Size (Human Readable) in the query and the same column in my "conversion" table.
I can clarify this further, but I wanted to get this much online for the time being.
I really appreciate any help.
Thanks!
Nick Katsaras