If (CheckBox1 - & gt; Checked)
StrFileName=AnsiString (" 1 ") + Now () DateString ();
if (! CheckBox1 - & gt; Checked)
StrFileName=AnsiString (" 2 ") + Now () DateString ();
StrFileName=ExtractFilePath (ParamStr (0)) + "Excel \ " + strFileName;
ToHtml (pclDataSet, strFileName c_str (), pclListConfig, "noname", CheckBox1 - & gt; Checked).
HTMLToEXCEL (strFileName c_str ());
How can let "noname" read strFileName
CodePudding user response:
"Noname" read strFileName-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
What you mean?
CodePudding user response:
Look not to understand ah,,,CodePudding user response:
This appearance strFileName c_str () is ok