I have another question related to this. Hopefully someone can help me with it. Does anyone know how to choose specific field names from a database if you don't know what they are ahead of time? For instance, I have a database with concentrations of various chemical elements that were taken in different years. To avoid a lot of extra rows of data, I gave each element its own field. But, not all elements were tested in each year. I would like people to be able to choose the year they are interested in (there is a year field in the database as well) and, based on that, return a list of elements for which there is data. Then, they can pick only the elements they are interested in from that year and get the actual data. The only sticking point right now is that I don't know how to extract just the element fields that have data in them for the year that was chosen. Help, anyone?
Kara