Marten Verhoeven
Forum Replies Created
-
You can wrap text in the datagrid. I think you should increase the $autosizeheight property.
Regards,
Marten
-
Hi Marco,
I use this to convert from and to a unix date:
dadd(kSecond,pDateInteger,dat(‘1970-01-01′,’y-M-D’))
ddiff(kSecond,dat(‘1970-01-01′,’y-M-D’),pDate)
Hope this helps,
Marten
-
Marten Verhoeven
MemberApril 3, 2023 at 9:21 am in reply to: Removing items from a list with $sendallHi Uwe,
If you do this, you are changing the list lines in the sendall loop itself which will never work. If you use iList, then $remove can be executed (just pass 0 for the current line, you don’t need to add $ref.$line), but it will leave half the lines, just as it would if you would do this in a for-loop, because the line wich is removed will be replaced by the next line, but the loop will continue with the next line:
Do iList.$sendall(iList.$remove(0),ktrue)
It is better to use a $search to select lines and then use $remove(kListDeleteSelected).
Regards,
Marten
-
I think you need to set $emptydateisnull of your DAM to true in order to return null from the database. Otherwise it will return the value of $defaultdate as far as I know.