07-17-2008 08:31 AM
07-23-2008 02:19 AM
07-24-2008 04:48 AM
08-26-2008 06:03 AM
Hi,
I'm very sorry for the late reply. - I escalated your question 3 times to America and they sent me the answer today...
(Don't know what happened there. Usually it takes only one, at most a few days...)
They tested the following code-snippet:
int main (int argc, char *argv[])
{
int myConnectionHandle;
double datetimeDouble;
int status;
int myStatement;
myConnectionHandle = DBConnect("DSN=USERDSNtest;UID=root;PWD=root";
myStatement = DBActivateSQL(myConnectionHandle, "select * from testtable";
DBBindColDouble(myStatement,2, &datetimeDouble, &status);
DBFetchNext(myStatement);
return 0;
}
The datetimeDouble variable contained both the date and time in the form xxxx.xxxx . I am not sure why your customer was unable to retrieve both the date and the time with the DBBindColDouble(), but we were unable to reproduce this on our end.
Please check this at your System. - I hope it will work for you too.
With best regards from Germany
Ralf N.
Applications Engineering