Set field with CurrentUserName() but not AutoUpdate feature

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

Set field with CurrentUserName() but not AutoUpdate feature

Post by merlin »

Hi Guru's

I need to update a field on SAVE with CurrentUserName() but only if the username is 10 digits long - so I don't want to use the AutoUpdate feature, which script area should I put my code in to.

Regards
Martyn


mobhar
User
Posts: 11747

Post by mobhar »

Simply put your code in "Row_Updating" server event for Edit/Update process. For Add process, put it in "Row_Inserting" server event.


merlin
User
Posts: 14

Post by merlin »

Hi mobhar - many thanks - Regards Martyn


Post Reply