I have a form that allows the users to set the workflow due date uisng the following code...
;date dueDate = date.DateInteger(date.now(), calcdays)
;;call <.HTMLPrefix() + 'datefield.html'>( 'WFDueDate', dueDate, FALSE, TRUE, 0 )
In my builder code, i have the following...
// Set the Workflow Due Date
response.data.mapDueDate = mapInfo.MAPINFO.DUEDATE = parm.request.WFDueDate
When this runs, i get the following error...
07/27/2011 18:17:10 [4278545648] 0000013893: ODBC diagnostic error: 1 ODBC error code: 241 ODBC state: 22007 ODBC error: [Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting datetime from character string.
I also see that it looks like the date/time value looks ok when it is being sent in...
27','\'\'',?,?,?,1000,?,1000,?,'D/2011/8/3:18:17:1',?,?,?,?,?,?,'A<1,?>',1,1,12761297}) -->
This is from Livelink 9.7.1 and I get the same error on 9.5 sp1. Any help is greatly appreciated. Thanks!