Ask a Question related to ASP Database, Design and Development.
-
Barbaraa #1
error when submit new DATE records
I have to insert new records by a add_form.asp. the
database is access. When I submit a record,
if the DATE textbox is empty, I have an error because it
appear access doesn't want empty record in date field!!
I said "yes" to allow null in table properties
Can someone help me?
this is the error:
[ODBC Microsoft Access Driver] Data type mismatch in
criteria expression.
thanks,
Barb
Barbaraa Guest
-
display records >(higher) than todays date?
hi, I have a vacancies table which displays vancanies added into a database. I want to display the records that have todays date or higher in the... -
Filter records by date and time
any chance to help me on this pls .. can anyone tell me how i can sort my table by date and time i wanna put down specific DATE and TIME into my db... -
ASP/SQL How to Query always the 2nd & 3rd records sortedby date
Hello I have a news page and it is dynamic: The first headline has an image and a short description and is always the latest story because its... -
How Do I update Multiple Records with One Submit??
Does anyone have a SOLID example of how this works? I've been struggling with this concept all day and am not understanding why it won't work. I... -
Update Multiple Records with One submit
SQL 6.5 Database I have a list of registrants and I want to use a check box after each record to show those who attend and then post all with... -
Aaron Bertrand - MVP #2
Re: error when submit new DATE records
Null and "" and "##" are not the same thing!
Maybe you should say this:
if request.form("dateTextBox") = "" then
dt = "NULL"
else
dt = "#" & request.form("dateTextBox") & "#"
end if
sql = "UPDATE table SET dtColumn = " & dt & " WHERE ... "
"Barbaraa" <anonymous@discussions.microsoft.com> wrote in message
news:0ab601c39cad$b2348ed0$a501280a@phx.gbl...> I have to insert new records by a add_form.asp. the
> database is access. When I submit a record,
> if the DATE textbox is empty, I have an error because it
> appear access doesn't want empty record in date field!!
> I said "yes" to allow null in table properties
> Can someone help me?
> this is the error:
>
> [ODBC Microsoft Access Driver] Data type mismatch in
> criteria expression.
>
> thanks,
>
> Barb
Aaron Bertrand - MVP Guest



Reply With Quote

