I have made a table...
Code: Select all
wxString leftCtrlData =TableName+wxT(" (id INTEGER PRIMARY KEY AUTOINCREMENT unique , human_description blob unique, code int unique, function blob unique, description blob )");
db->ExecuteUpdate(leftCtrlData);
Code: Select all
wxString sql=wxT("insert into ");
sql+=TableName;
sql+=wxT(" ( human_description , code , function , description ) values ('");
sql+="human_description";
sql+=wxT("' , '");
sql+=wxString::Format(wxT("%d"),0);
sql+=wxT("' , '");
sql+="funct";
sql+=wxT("' , '");
sql+="description";
sql+=wxT("')");
db->ExecuteUpdate(sql);
But if i will try the same, app crashes.
If wxSQLite3 see that some field is same with others must return without crash?
Thank you.
Jim