posted 21 years ago
Thanks for the help. That worked.
Now I have another question. Here is my PreparedStatement:
I have everything working the way I want it for this search I am creating except for setting the parameter for the Actual Ship date.
The user can select the option to search for shipped and unshipped orders (which is where I used the wildcard character) and that works. They can also choose to just search only shipped orders, or only unshipped orders. This is where I am running into problems.
What do I set the parameter to, to weed out the records with valid ship dates? I am using a default date of 1900-01-01 in unshipped orders so I can't use null. I can't use the wildcard character because that will still bring back all of them.
Also, can I not use the LIKE keyword with any other value than the wildcard on a DateTime field? I do not get any results if I key in "1900%".
Any suggestions?
Thanks!
[ October 07, 2002: Message edited by: Jennifer Sohl ]