Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
Clear time field dbisam |
Sat, Jun 16 2018 6:04 PM | Permanent Link |
Huseyin Aliz myBiss ApS | Hi All,
I can assign value to a time field using strtotime(value) but how can I clear the value again, so it's null. strtotime('') does not work, neither astime := 0, does anyone have a suggestion? Thanks. Regards, Hüseyin |
Sun, Jun 17 2018 9:29 AM | Permanent Link |
Uli Becker | Did you try MyField.clear?
Uli |
Sun, Jun 17 2018 10:58 AM | Permanent Link |
Huseyin Aliz myBiss ApS | Hi Uli,
I knew it existed in pascal, but never thought i could use it here also, but it works Maybe you have an idea how i solve my next issue also When time field is blank in dataset and I will show value with tedit, it shows 01:00 when using timetostr(field), how can I check if this field contains null and just assign null to string value? Thanks in advance. Hüseyin Den 17-06-2018 kl. 15:29 skrev Uli Becker: > Did you try MyField.clear? > > Uli > |
Mon, Jun 18 2018 3:15 AM | Permanent Link |
Huseyin Aliz myBiss ApS | Fixed it by checking for field.asinteger = 0.
Thanks, Hüseyin Den 17-06-2018 kl. 16:58 skrev Hüseyin Aliz: > Hi Uli, > > I knew it existed in pascal, but never thought i could use it here > also, but it works Maybe you have an idea how i solve my next issue > also > When time field is blank in dataset and I will show value with tedit, > it shows 01:00 when using timetostr(field), how can I check if this > field contains null and just assign null to string value? > > Thanks in advance. > Hüseyin > > Den 17-06-2018 kl. 15:29 skrev Uli Becker: >> Did you try MyField.clear? >> >> Uli >> > |
This web page was last updated on Friday, April 19, 2024 at 07:09 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |