Tom Powers
asked on
Read from two files to obtain image and name values
I wrote code for the Baserunners There are two files a Pitch file and the Basefile. Well the app was always a step behind my fault it was reading baserunners from base file however the pitch file has same Picture ID AND WHAT BASE RUNNER IS ON. So this now makes App function like almost realtime The one thing is that the Pitch File doesnot provide the player's First and Last Name So I have a head shot and base selected but I need First and Last name to complete the App.
Enter you can you Take Player ID AND DO A SELECT QUERY sELECT FIRST AND LASTNAME WHERE BATTER FROM ACTIVE = 1 AND Player id = variable from pitch file. I hope that's not too confusing . I attached pitch file and xml data with batters so you can grab name. Thanks
500 Points and I'll be a personal reference for you......
37504.xml
37504-PITCH.xml
Diamond.htm
Enter you can you Take Player ID AND DO A SELECT QUERY sELECT FIRST AND LASTNAME WHERE BATTER FROM ACTIVE = 1 AND Player id = variable from pitch file. I hope that's not too confusing . I attached pitch file and xml data with batters so you can grab name. Thanks
500 Points and I'll be a personal reference for you......
37504.xml
37504-PITCH.xml
Diamond.htm
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
By the way, I didn't check that player/active is 1, can there be more than 1 node with same id or should that info not be shown if active is not 1, even though runnerid is set to it? In that last case a lot more needs to change!
ASKER
Great code this is just about perfect