I am implementing a filter to my search interface that allows a user to display results that have been added within the past 10 days. My program brings back an output, but it's only one when there are at least 3 values in my database that would fit the filter. Is there something I need to change in my code in order to get it to output ALL values that the select statement applies to?
The ResultSet is capable of containing more than one row... but you have to call next() more than once to access the other rows. Usually this is done with a while statement. Simply change your code here:
posted 10 months ago
worked really well
This tiny ad is wafer thin:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop