GeekIslands
New member
- Local time
- Today, 22:15
- Joined
- Dec 1, 2008
- Messages
- 2
Help!
I would like to make sense of some data getting dumped from our MRP system..,I’m new to this Access lark (and to this forum) but I’m hoping it will help me do what I want and some kind Access guru will guide me to the light that I know is at end of yonder tunnel..
Are you sitting comfortably….Here’s the story so far…
A text file is getting dumped, daily, containing product data. This currently contains about 18000 rows
The file is comma delimited currently containing 3 fields per row
Part ID,Proj,Parent
Part ID is a unique single alphanumeric identifier
Proj contains one or many entries delimited by a ^
Parent contains no, one or many entries delimited by a ^
A Part will be assigned to at least 1 Project (proj) but no known maximum
A Part could have no, one, or many Parent Parts (which also has a part ID)
Example Original .txt file
A,2001^2678,Z
B,6785,F
C,2078^7899^6733
D,2996,K^T
E,2113^3662
F,6671^6785^2888^2768
I want to be able to dynamically query this data to generate reports e.g
Show all parts on project 6785 (should return B and F)
Show assembly structure (i.e. build parent child links)
The file is refreshed daily so have created a linked table directly to the text file which looks something like this:
All is well so far and any edits or refresh to the source data dynamically updates in the access table.
Where do I start?? How can I dynamically split the data up into multiple records??
Using the example above is it possible to query partID F and get the Projects listed as 4 rows?
6671
6785
2888
2768
I have created a query to count the number of projects/parents for each PartID? what now? Do I have to resort to some VB code? If I then want to do parent child relationships do I have to create a selfjoin (whatever that is??)
Too many questions…..too long a post…too late at night….
I would like to make sense of some data getting dumped from our MRP system..,I’m new to this Access lark (and to this forum) but I’m hoping it will help me do what I want and some kind Access guru will guide me to the light that I know is at end of yonder tunnel..
Are you sitting comfortably….Here’s the story so far…
A text file is getting dumped, daily, containing product data. This currently contains about 18000 rows
The file is comma delimited currently containing 3 fields per row
Part ID,Proj,Parent
Part ID is a unique single alphanumeric identifier
Proj contains one or many entries delimited by a ^
Parent contains no, one or many entries delimited by a ^
A Part will be assigned to at least 1 Project (proj) but no known maximum
A Part could have no, one, or many Parent Parts (which also has a part ID)
Example Original .txt file
A,2001^2678,Z
B,6785,F
C,2078^7899^6733
D,2996,K^T
E,2113^3662
F,6671^6785^2888^2768
I want to be able to dynamically query this data to generate reports e.g
Show all parts on project 6785 (should return B and F)
Show assembly structure (i.e. build parent child links)
The file is refreshed daily so have created a linked table directly to the text file which looks something like this:
Code:
PartID Proj Parent
A 2001^2678 Z
B 6785 F
C 2078^7899^6733
D 2996 K^T
E 2113^3662
F 6671^6785^2888^2768
All is well so far and any edits or refresh to the source data dynamically updates in the access table.
Where do I start?? How can I dynamically split the data up into multiple records??
Using the example above is it possible to query partID F and get the Projects listed as 4 rows?
6671
6785
2888
2768
I have created a query to count the number of projects/parents for each PartID? what now? Do I have to resort to some VB code? If I then want to do parent child relationships do I have to create a selfjoin (whatever that is??)
Too many questions…..too long a post…too late at night….