I'm working on a program that connects to a Microsoft Access database, and am about 2/3 of the way done. It will edit string data from the text boxes, but not numeric. I have tried numerous conversions, but I keep getting error messages like this conversion is not possible. pAmount is the one pesky item that won't work. Please help. Here is the section of code:
CEdit* pPayto = (CEdit*)GetDlgItem(IDC_PAYTO);
//CEdit* pAmount =(CEdit*)GetDlgItem(IDC_AMOUNT);
CEdit* pDate = (CEdit*)GetDlgItem(IDC_DATE);
CEdit* pMemo = (CEdit*)GetDlgItem(IDC_MEMO);
//I tried the same line for pAmount but it wouldn't work.