Edward,
When I tried plgging in the values directly i got the results i was looking for.
As a matter of fact i tested the SQL queries as a seperate program before i copied them into my app.
Perry
Perry E. Chrzanowski
Programmer/Analyst
Saturn (Solutions) Inc.