Hi, when I delete an event clicking on the "Delete" button in EventsDetails layout, all the data are deleted, but the window doesn't close and the summary is displayed on the calendar
How can I solve this bug?
Thanks, Damian
bug in deleting events
8 posts
• Page 1 of 1
Posts: 44
Joined: Sat Mar 13, 2010 11:48 am |
|
Hi Damian,
There should be a layout based script trigger on the Event Detail layout that should handle this (On Event Record Load : OnRecordLoad), so I would check if that's set-up and nothing is broken in the script itself. Please let us know if that helps. -Jason |
|
Posts: 44
Joined: Sat Mar 13, 2010 11:48 am |
Thanks, Jason. The script is OK and nothing is broken, but the problem persists
|
Hmmm.
Not sure why it's not working. When you open the window form the calendar, there should just be one record in the found set, so when you close the window this should be true IF [Get ( FoundCount ) = 0 and ValueCount ( WindowNames ( Get (FileName ) ) ) > 1 and Get ( TotalRecordCount ) > 0] and run the part of the script that closes the window and runs the refresh. The thing I can think of is that if you only have one event and are deleting the last one, then that part won't run. If you have Advanced, can you check this script with the debugger to see what's not happening? Let me know if that helps, -Jason |
|
Posts: 44
Joined: Sat Mar 13, 2010 11:48 am |
Hi, the script is OK, I checked it with the debugger and there is no problem, but the problem persists:
when I delete an event clicking on the "Delete" button in EventsDetails layout, all the data are deleted, but the window doesn't close and the summary is displayed on the calendar. If I click on the refresh button, all the events disappear!! Can I send you a copy of my solution? Thanks!! |
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Sure thing Damian, we should probably get a copy of you files. I'll email you instructions for sending them to us.
- John John Sindelar
SeedCode |
Posts: 44
Joined: Sat Mar 13, 2010 11:48 am |
thanks, John, I can't solve this problem, please, email me to [email protected], thanks
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Will do. Emailed you at barnetik.com the other day.
John Sindelar
SeedCode |
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests