ExecuteStatement in Row_Inserted event

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
iggabz
User
Posts: 94

ExecuteStatement in Row_Inserted event

Post by iggabz »

Good day,

is this possible?

function Row_Inserted($rsold, $rsnew)
{
    //Log("Row Inserted");
    // Insert record
    $myResult = ExecuteStatement("INSERT INTO MyTable1 (Field1, Field2, Field3) VALUES (Value1, Value2, Value3)");
    $myResult = ExecuteStatement("INSERT INTO MyTable2 (Field1, Field2, Field3) VALUES (Value1, Value2, Value3)");
}

mobhar
User
Posts: 11767

Post by mobhar »

Of course, it is possible.


iggabz
User
Posts: 94

Post by iggabz »

thank you


Post Reply