Home > database > Original concept inserting a row in the dw_1, data, update the database, how to write?
Original concept inserting a row in the dw_1, data, update the database, how to write?
Time:09-20
Original concept inserting a row in the dw_1, data, update the database, how to write?
CodePudding user response:
Create one row, set values, the following sample code Long ll_row Ll_row=dw. Insertrow (0)
Dw. Setitem (ll_row, "column", "set the value of") . . . Keep update, the code is as follows: If dw. The update ()=1 then Commit the using the sqlca; The else The rollback using sqlca; Messagebox (" prompt ", "save failed!" , stopsign!) end if
CodePudding user response:
Table's primary key can't add a primary key for grey situation thank you!
CodePudding user response:
Your question best give a screenshot, otherwise, I don't know what are you doing