NetTalk Central

Author Topic: SQL DATE issue in C11?  (Read 4815 times)

ntnewbies

  • Full Member
  • ***
  • Posts: 184
    • View Profile
    • Email
SQL DATE issue in C11?
« on: December 18, 2018, 06:10:03 AM »
Hi friends,
Am I the only one facing this problem?
I have upgraded my nettalk application to use NT11.04 under C11.

In C10, i declare DATE for the field and put d6 and it works. In SQL, it was interpreted as DATETIME.

But now, in C11, when i open a database with date field, it gives me error invalid field descriptor (75)
When i change the date to LONG and maintain d6, then it works.

Why such a change? I know that we can create a group and put the date and time inside it.
However, why there was no such issue when i use C10 with older NT?

Any input friends?


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: SQL DATE issue in C11?
« Reply #1 on: December 19, 2018, 01:58:19 AM »
>> But now, in C11, when i open a database with date field, it gives me error invalid field descriptor (75)

Unfortunately I'm not a SQL expert so I can't really advise too much here, but I think this is the root of your question and perhaps it's worth asking about this in the skype chats.

cheers
Bruce

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: SQL DATE issue in C11?
« Reply #2 on: December 19, 2018, 04:38:59 AM »
I always use a group with datetime to avoid these errors, all my projects are in the SQL server.

I think SV change the driver for support the new date data type..

ntnewbies

  • Full Member
  • ***
  • Posts: 184
    • View Profile
    • Email
Re: SQL DATE issue in C11?
« Reply #3 on: December 19, 2018, 08:07:22 PM »
Thanks osquiabro. I think so too.
If i want to change my C10 application to C11, then i need to use FM3 again to convert the date before compiling  :-[