Thanks a million! This is just what I was looking for. Your version has even better formatting compared to the basic PlanetInfo output. Tabs instead of thousands of spaces.
I don't know how to use the database stuff, but maybe someone else will.
I will post about the project I'm using the data for when I have a functional version. Yet another stellar map, I'm afraid.