Hi All,
I am in the process of PB conversion of an legacy application from db2 to sql server. I am having a problem with how sql srver handles dates in a datawindow. The below example in db2 returns the current datetime and saved in the datawindow with no problem. When I try the same thinh in sql sever I get blanks. What's causing this problem and any solution. PB 2017 and sql server 2016.
example:
datetime ldt_current
ldt_current = DateTime(Today(), Now())
dw_1.setitem(i,"a1",ldt_current)
Thanks,
Kwadwo
. it is the same db2 setup but i thought it work with no problem.
/////
-Connectstring='DSN=kkkk;UID=ppp;PWD=xxxx,StripParmNames='Yes',DateTimeFormat='\''yyyy-mm-dd hh:mm:ss.fff\'''
I just added the date format to see if it work. Connection is through odbc.