|
-
Aug 2nd, 1999, 04:31 AM
#1
I am trying to search trough as database.
I want the user to input the info to search for under the DueDat column. It runs but then comes up with a error that says somthing like invalid vale in date in expression what should i do?
-
Aug 2nd, 1999, 06:51 AM
#2
Addicted Member
Show some code that way we may be able to help
-
Aug 2nd, 1999, 05:40 PM
#3
Lively Member
Hi,
check first that the value that you are passing is a valid date before doing your search.
You can use:
if not isdate(expression) then
msgbox "Invalid date"
else
'code for search
end if
HTH,
Preeti
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|