I'm using Access (well I'm coding SQL in access) to parse some log files. I'm mechanical engineer and not a programmer so I'm going a little bit crazy. I've managed to figure out how to do everything I need up till the last step.
I'm going to give a sample input table and desired output table.
Input
File Server
1.pdf A
1.pdf B
2.pdf A
2.pdf A
2.pdf A
3.pdf A
3.pdf B
3.pdf A
4.pdf B
4.pdf B
Output
File
1.pdf
3.pdf
What I need is to flag each file that has both the A and B server values.
I'm guessing I need something like Select Distinct File Where (???)
I've looked through a bunch of FAQs which is how I managed to get the logs down to this point, but I can't find one that tells me how to select a distinct value from file when column B has string 1 AND string 2 (A and B in the above example) .
Thanks in advance!
I'm going to give a sample input table and desired output table.
Input
File Server
1.pdf A
1.pdf B
2.pdf A
2.pdf A
2.pdf A
3.pdf A
3.pdf B
3.pdf A
4.pdf B
4.pdf B
Output
File
1.pdf
3.pdf
What I need is to flag each file that has both the A and B server values.
I'm guessing I need something like Select Distinct File Where (???)
I've looked through a bunch of FAQs which is how I managed to get the logs down to this point, but I can't find one that tells me how to select a distinct value from file when column B has string 1 AND string 2 (A and B in the above example) .
Thanks in advance!