- Richard Donagrandi
- PowerBuilder
- Friday, 9 August 2024 05:10 PM UTC
Powerbuilder 2022 R3 Build 3356
If you have a datawindow default on a column of type datetime, the datetime doesn't populate on insert. -- I have tried datetime(today(), now()) and just today()... neither works.
You can recreate this by simply creating a new datawindow with external source, and adding two fields:
table(column=(type=datetime updatewhereclause=yes name=my_date dbname="my_date" initial="datetime(Today(), Now())" )
column=(type=number updatewhereclause=yes name=row dbname="row" initial="0" )
)
Insert a row... your date will not fill in.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.