Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 2 of 2 total |
default value |
Thu, Jul 3 2014 5:40 AM | Permanent Link |
Paul Waegemans IMS bvba | I have a DBISAM table (4.37 build3) who has a date field with New Record/Default value = current_time
Adding a record is Dbsys works properly and the field has the currentdate. Adding a record in application build with EWB (1.03 build 7) the field does not reveive any value. Paul Waegemans |
Thu, Jul 3 2014 8:45 AM | Permanent Link |
Walter Matte Tactical Business Corporation | Paul:
I'm going to take a guess here... When you Insert into a Dataset from EWB - EWB doesn't really Insert the record to the physical file. EWB is a front end, so if you have an EWB Dataset that, in the backend table has defaults, when you insert in EWB it doesn't know about the backend - it could be any database (MS SQL, Oracle.. etc) it sends back the JSON as described in the EWB Manual. You could use Fiddler and see what is being Posted back to your server. My guess is that the date field is Null. So when it gets back to the Server to Insert it physically, it does the DEFAULT but then gets overwritten by the NULL sent back from the EWB front end. I would suggest you set the date your self in the EWB Dataset using the OnInitRow event. Walter |
This web page was last updated on Sunday, December 1, 2024 at 03:59 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |