Problem saving date

Forum to discuss the new web client version of Servoy.

Problem saving date

Postby rieder » Fri Dec 09, 2016 7:38 pm

Hi

We don't manage to save a date (birth date) into our (Sybase) database with the deployed NG client solution. Launched from developer, the application runs fine. Any ideas, what might cause the problem?

- we did enter a format (display and enter). On the fields and on the admin page of the servoy application server.
- we did remove the format on field.
- we made it type data, we made it a type datetime.

The behavior: We can enter the value and leave the field. Everything «looks» ok. But the value does not get saved into the database (the value is also not in the foundset). Any help is much appreciated. Otherwise we must turn it back into a string :(

We use Servoy 8.1.1 (problem was also in 8.1.0)
Java 8.0.66
OS X 10.11.6

Kind regards
Birgit Rieder
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
rieder
 
Posts: 177
Joined: Thu Jan 26, 2012 5:18 pm

Re: Problem saving date

Postby lvostinar » Wed Dec 14, 2016 9:58 am

rieder wrote:Hi

We don't manage to save a date (birth date) into our (Sybase) database with the deployed NG client solution. Launched from developer, the application runs fine. Any ideas, what might cause the problem?

- we did enter a format (display and enter). On the fields and on the admin page of the servoy application server.
- we did remove the format on field.
- we made it type data, we made it a type datetime.

The behavior: We can enter the value and leave the field. Everything «looks» ok. But the value does not get saved into the database (the value is also not in the foundset). Any help is much appreciated. Otherwise we must turn it back into a string :(

We use Servoy 8.1.1 (problem was also in 8.1.0)
Java 8.0.66
OS X 10.11.6

Kind regards


Seems like a parsing problem to me. Do you have any exceptions in browser or logs ?
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

Re: Problem saving date

Postby rieder » Wed Dec 14, 2016 5:02 pm

No, nothing.
Birgit Rieder
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
rieder
 
Posts: 177
Joined: Thu Jan 26, 2012 5:18 pm

Re: Problem saving date

Postby rieder » Wed Dec 14, 2016 5:16 pm

Solved it. Made the field of displayType Calendar instead of Text field.

Thanks and regards
Birgit Rieder
Birgit Rieder
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
rieder
 
Posts: 177
Joined: Thu Jan 26, 2012 5:18 pm


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 4 guests