Everything works fine, except there are two BLOB fields in the Member_Pending table that don't get transferred even though all other information is transferred properly.
Can anyone help me out with getting the BLOB fields to transfer?
The transfer looks like this right now:
- Code: Select all
$app =& Dataface_Application::getInstance();
$query =& $app->getQuery();
$records =& df_get_selected_records($query);
$transferred = 0;
$errs = array();
foreach ($records as $rec){
$transf = new Dataface_Record('Member', array());
$transf->setValues(array(
'Member_Name' => $rec->val('New_Member_FName'),
'Last_Name' => $rec->val('New_Member_LName'),
//Transfer all information, etc...
//Now transfer PDFs
'PDFBlob1' => $rec->val('PDFBlob1'),
'PDFBlob2' => $rec->val('PDFBlob2')
));
}
Everything works except for the lines which link PDFBlob 1 and 2 in the new record to PDFBlob1 and 2 in the pending record.