Hello Experts,
on top of the form
Set date to dmy
set century on
I am have a very weird problem.
I have a sql installed on my pc local
When I do the next statement
replace tmp.date with t_mp.date no problem
the statement is good because t_mp.date is recognized as a date
In a browse the t_mp i see the date as 2011/01/01
I made an exe and on the server with sqlexpress 2008 r2
when i do the same statement i get an error that the date is not a date format - data type mismatch -
In a browe i see the date as 2011-01-01
When I convert the statement to
replace with tmp_date with ctod(t_mp.date) then it works on the server but not on my local pc
It seems like on my pc he recognizes a date and on the server the date is like a string
t_mp is the result of sqlexec(handle,sql,"t_mp") where slq = select * from blablabla
I already searched for it for hours but did not find any solution
wfg,
on top of the form
Set date to dmy
set century on
I am have a very weird problem.
I have a sql installed on my pc local
When I do the next statement
replace tmp.date with t_mp.date no problem
the statement is good because t_mp.date is recognized as a date
In a browse the t_mp i see the date as 2011/01/01
I made an exe and on the server with sqlexpress 2008 r2
when i do the same statement i get an error that the date is not a date format - data type mismatch -
In a browe i see the date as 2011-01-01
When I convert the statement to
replace with tmp_date with ctod(t_mp.date) then it works on the server but not on my local pc
It seems like on my pc he recognizes a date and on the server the date is like a string
t_mp is the result of sqlexec(handle,sql,"t_mp") where slq = select * from blablabla
I already searched for it for hours but did not find any solution
wfg,