Home > Software engineering > Please help!!!!! Please help!!!!! ADO connection Access to the address of the image data format into
Please help!!!!! Please help!!!!! ADO connection Access to the address of the image data format into
Time:09-20
bool CAccessManager: : CreateTimeTable (CString& SOutTime, cstrings sInFolder) { CDaoAccess _Access; M_sAccessPath=sInFolder; SYSTEMTIME st. GetLocalTime (& amp; St); D_ d_ sOutTime. The Format (" % % % d ", st. wYear, st. wMonth, st. wDay);
_Access. CreatAccessDB (sInFolder); Cstrings strSql; StrSql. The Format (" CREATE TABLE % s (ID AUTOINCREMENT PRIMARY KEY, time VARCHAR (200), the template type VARCHAR (200), the identification results VARCHAR (200), image address TEXT) ", sOutTime);
//create a table; _Access. CmdSql (sInFolder, strSql);//CreateAccess (outExcel, sPath);
StrSql. The Format (" ALTER TABLE 2019 _2_12 ALTER the COLUMN picture address the Hyperlink ");
//create a table; _Access. CmdSql (sInFolder, strSql);//CreateAccess (outExcel, sPath);
M_sCurTable=sOutTime; return true; } }
CodePudding user response:
Increase file:///before field values
CodePudding user response:
StrSql. The Format (TEXT (" ALTER TABLE 2019 _2_12 ALTER COLUMN % s ",... ); String format??