[FX.php List] Editing a found value

Louie Miranda lmiranda at gmail.com
Fri Oct 22 01:14:57 MDT 2004


I do find the values im looking for using this..

//find
$query = new FX("192.168.0.90", "8080");
$query -> SetDBData("Agencies.fp5", "AllFields");
$query -> AddDBParam('Filename', $catchfile);
$data1 = $query->FMFind();

print("<pre>");
print_r($data1);
print("</pre>");

and try to edit it afterwards, but this one returns an error of 101
(missing record)

//edit
$query = new FX("192.168.0.90", "8080");
$query -> SetDBData("Agencies.fp5", "AllFields");
$query -> AddDBParam('-recid', $currentRecord);
$query -> AddDBParam('AccessDate', $GF_Datetime);
$data2 = $query->FMEdit();

print("<pre>");
print_r($data2);
print("</pre>");


how do i edit a found row?

-- 
Louie Miranda
http://www.axishift.com


More information about the FX.php_List mailing list