CString.Format

This is a discussion on CString.Format within the Windows Programming forums, part of the Platform Specific Boards category; Hi all
I have a little problem wich you guys might be able to help med with
Code:
void CDeploymentDlg::OnOK()
...

You must also make sure your strings do not contain embedded apostrophes. Finally, if the Date field is actually a date-type field rather than a string you should use hash (#) symbols to surround it rather than apostrophes. Obviously it requires a valid date format as well.