Exemplo n.º 1
0
void NotesHelper::SetMemoDate(const HANDLE noteHandle, const std::string &field, const TIMEDATE &date)
{
	STATUS status = NSFItemSetTime(noteHandle, field.c_str(), &date);
	if(NOERROR != status)
		throw CppUnitException(_T("Failed to set the note Form field"), __LINE__, _T(__FILE__));	
}
Exemplo n.º 2
0
DWORD CLotusNote::ItemSetTime(char *itemname, TIMEDATE *ptime)
{
	if (m_hnote == NULL) return Error_Handle("CLotusNote::ItemSetTime");
	return CLotusSection::Add_NApi_code_msg(NSFItemSetTime(m_hnote,itemname,ptime),SSIZE(m_err_msg),"CLotusNote::ItemSetTime->NSFItemSetTime");
}