L
LisaInAz
I have tried to research what I am trying to do and can't seem to find a
solution, I am not sure if it can be accomplished. I am not very good at the
coding portion in regards to Access/VB. I am self taught.
Basically I have two tables TABLEA Contains unique values TABLEB Contains
the data, both have same FieldAUNIQUEVALUE. No relationships have been set.
From these two tables I want to make as many tables as there is unique value
as there are tables programatically...
EXAMPLE
TABLE A TABLE B
FieldAUNIQUEVALUE
FieldAUNIQUEVALUE,FieldBIDNBR,FieldCDistrictOffice
SAMPLE DATA
TABLEA TABLEB
F1BT F1BT,123456,F1A
F1BU F1BT,234568,F1A
F2BW F1BT,098765,F1A
F2BU F1BU,098765,F1A
F1BU,456783,F1B
F1BU,456567,F1C
F2BW,098765,F2A
F2BW,111111,F2B
F2BU,111111,F2B
F2BU,234567,F2B
F2BU,345890,F2B
Goal 4 different tables, each named with TABLEAFieldAUNIQUEVALUE containing
corrected data
NEW TABLE
F1BT would contain 3 records
F1BU would contain 3 records
F2BW would contain 2records
F2BU would contain 3 records
I know I could accomplish this manually but I would have to do it 36+ times
with separate queries. Any suggestion is greatly appreciated, even if it is
to accomplish manually. Thank you in advance.
solution, I am not sure if it can be accomplished. I am not very good at the
coding portion in regards to Access/VB. I am self taught.
Basically I have two tables TABLEA Contains unique values TABLEB Contains
the data, both have same FieldAUNIQUEVALUE. No relationships have been set.
From these two tables I want to make as many tables as there is unique value
as there are tables programatically...
EXAMPLE
TABLE A TABLE B
FieldAUNIQUEVALUE
FieldAUNIQUEVALUE,FieldBIDNBR,FieldCDistrictOffice
SAMPLE DATA
TABLEA TABLEB
F1BT F1BT,123456,F1A
F1BU F1BT,234568,F1A
F2BW F1BT,098765,F1A
F2BU F1BU,098765,F1A
F1BU,456783,F1B
F1BU,456567,F1C
F2BW,098765,F2A
F2BW,111111,F2B
F2BU,111111,F2B
F2BU,234567,F2B
F2BU,345890,F2B
Goal 4 different tables, each named with TABLEAFieldAUNIQUEVALUE containing
corrected data
NEW TABLE
F1BT would contain 3 records
F1BU would contain 3 records
F2BW would contain 2records
F2BU would contain 3 records
I know I could accomplish this manually but I would have to do it 36+ times
with separate queries. Any suggestion is greatly appreciated, even if it is
to accomplish manually. Thank you in advance.