This topic is locked

DAL Update Function Not working

11/23/2013 7:12:13 AM
PHPRunner General questions
T
Tayyab Ilyas author

Hi I have two tables

shipment (master)

shipment_details (child)
I am trying to use following code in shipment table but it does not updated anything in shipment details table


global $dal;
$tblShipmentdetail = $dal->Table("shipment_details");
$tblShipmentdetail->Params["Shipment_Line_No"]=1;
$tblShipmentdetail->FOB=10;
$tblShipmentdetail->Update();


Any help please

Sergey Kornilov admin 11/23/2013
  1. Make sure all fields and tables names are correct (case-sensitive)
  2. Check for any error messages this code produces.
    If nothing helps post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.