Time:10-15
CodePudding user response:
did you connected
what kind of permissions, now is such, if only write delete this sentence, can be implemented; But I put the table names are recorded in a database table, now want to do is to put the name of the table of the whole record to delete and then put the name of the table corresponds to the table also delete Cstrings TABLE; DtuStr=m_pdtuSet - & gt; M_Dtu_num; TABLE=m_pdtuSet - & gt; M_Tablename; If (m_dtuimei!=DtuStr) {M_pdtuSet - & gt; MoveNext (); If (m_pdtuSet - & gt; IsEOF ()) {MessageBox (" this tb_dtu DTU number in the table does not exist!" ); } } The else/exist/delete {M_pdtuSet - & gt; The Delete (); M_pdtuSet - & gt; Requery (); Cstrings TABLEDELE; TABLEDELE="DROP TABLE" + TABLE; M_DB. The ExecuteSQL (TABLEDELE); }
add Spaces are not achieve them delete
Page link:https//www.codepudding.com/Softwareengineering/66300.html