General information
Category:
The Mere Mortals Framework
Title:
Kmover - Application Security error
I'm trying to implement the Application Security (csecurityform) in MM.
I've updated the Presavehook method to replace the v_controlsecuritygroups record with the new record being added via the kmover class.
The v_usersecure table (in the v_controlsecuritygroups remote view) gets updated correctly and all is well until I try to save the changes.
The problem lies in the cleanup method in the ov_controlsecuritygroups dataenvironment.
The program goes thru the cdataenvironment closetables method and issues a close for the ov_controlsecuritygroups.
The data environment then issues the SQL disconnect for the table and completes successfully.
MM then attempts to run the ccursor.close for the file, and this is where I get the Connection Handle is invalid message when the USE IN (lcalias) statement executes.
If I just delete a sellistobj record and save, everything is fine and the files close correctly.
It's only when I add a sellistobj record that this message comes up.
Any ideas on what I'm missing?
Thanks in advance.
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only