Hello All,
I am trying to Insert DateTime into database using popcalendar.
I am not getting the result after many tries.
....................................................................................................................
queryValue2 =event.source.parent.getComponent('Popup Calendar').date
system.db.runPrepUpdate("INSERT INTO SCRAP_ENTRY (DateTime) VALUES (?)", [queryValue2],getKey=1)
.............................................................................................................................
on my window: powertable bind with SQL Query - select
pop calendar and Button,
this is my query.
Please help me in this.
I am new to this ignition.
Thank you
Changed the column name from DateTime to ScrapDate changed datatype to nvarchar()also.
no error. query is inserting into the the database when I checked in SQL.
but in ignition table inserted data is not showing.