hi,
how to update the username in dynamic permissions page if the user name in kullanicilar table changes?
master table
kullanicilar ===>
UserName(PK,NN,UQ), kullanici_kodu(id)(PK,NN)
dynamic permission
esubeugmembers==>
UserName(Pk,NN,UQ), kullanici_kodu(id)(PK,NN)
my code:
kullanicilar table /edit/ UserName
event/ before record update
thank you.
https://xlinesoft.com/phprunner/docs/update_multiple_tables.htm
https://xlinesoft.com/phprunner/docs/update.htm
how to update the username in dynamic permissions page if the user name in kullanicilar table changes?
master table
kullanicilar ===>
UserName(PK,NN,UQ), kullanici_kodu(id)(PK,NN)
dynamic permission
esubeugmembers==>
UserName(Pk,NN,UQ), kullanici_kodu(id)(PK,NN)
my code:
kullanicilar table /edit/ UserName
event/ before record update
global $dal; $tblesubeugmembers = $dal->Table("esubeugmembers"); $tblesubeugmembers->Value["UserName"] = $values["UserName"]; $tblesubeugmembers->Param["kullanici_kodu"] = $values["kullanici_kodu"]; $tblesubeugmembers->Update(); unset($values["UserName"]); return true;
thank you.
https://xlinesoft.com/phprunner/docs/update_multiple_tables.htm
https://xlinesoft.com/phprunner/docs/update.htm