- This topic has 2 replies, 2 voices, and was last updated 12 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Integrated Application Platform
Integrated Application Platform › Forums › General › Md5 function
Hi Andrew,
I’ve had a look at the Accounting example app and the Md5 function for encrypting the passwords. I use an Access for my users screen. I’ve tried adding a trigger so if the password has changed then update password with the Md5 function but it causes a stack over flow (Because I’m updating the same table the trigger was on…) When I looked at how the example app does it uses the changed event on the browse is there a event like this on the access? I’ve had a look but can’t identify.
PS I’ve had a play with the Java version of Suneido and I like what I see. Combining my two favourite programming languages
Jason
Hi Jason,
AccessControl sends an Access_RecordChange message whenever the data changes. It will pass a list of members that changed.
Here is what the method will look like in your Controller. The members argument that is sent is an object containing the member names in the data that changed:
Access_RecordChange(members)
{
}
Thanks for your response. How could I miss
.Send("Access_RecordChange", .record_change_members)
In the AccessControl code.
😳
Thanks
Jason