Hi Guys,
I am a newbee to Bytes currently working on an MS Access database for one of my clients:
With respect, I'll get right to it:
I have 2 tables:
Table 1. TblTrip_Facts
Route Name , FactTypeId ,CustomerName ,RouteType
AISX1-0103 , 0 , TTMA , DEDICATED
AISX1-0104 , 0 , TTMA , DEDICATED
Table 2: TblLabel
Labels,
RouteType,
CustomerName,
Route Name,
I am looking to export a CSV file that looks like the following:
FINAL OUTPUT: My wish list. (TABLE B)
TripReference, FactTypeID, Label, Value
AISX1-0103, 0, RouteType , DEDICATED
AISX1-0103, 0, CustomerName, TTMA Tetsu Group
AISX1-0103, 0, Route Name, AISX1-0103
AISX1-0104, 0, RouteType , DEDICATED
AISX1-0104, 0, CustomerName, TTMA Tetsu Group
AISX1-0104, 0, Route Name, AISX1-0104
Please let me know if you have any ideas on how I can convert my tables to one table (TABLE B) and include a new field Value.
Thanks for the help in advance.
I am a newbee to Bytes currently working on an MS Access database for one of my clients:
With respect, I'll get right to it:
I have 2 tables:
Table 1. TblTrip_Facts
Route Name , FactTypeId ,CustomerName ,RouteType
AISX1-0103 , 0 , TTMA , DEDICATED
AISX1-0104 , 0 , TTMA , DEDICATED
Table 2: TblLabel
Labels,
RouteType,
CustomerName,
Route Name,
I am looking to export a CSV file that looks like the following:
FINAL OUTPUT: My wish list. (TABLE B)
TripReference, FactTypeID, Label, Value
AISX1-0103, 0, RouteType , DEDICATED
AISX1-0103, 0, CustomerName, TTMA Tetsu Group
AISX1-0103, 0, Route Name, AISX1-0103
AISX1-0104, 0, RouteType , DEDICATED
AISX1-0104, 0, CustomerName, TTMA Tetsu Group
AISX1-0104, 0, Route Name, AISX1-0104
Please let me know if you have any ideas on how I can convert my tables to one table (TABLE B) and include a new field Value.
Thanks for the help in advance.
Comment