Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Kmover - Application Security error
Message
From
22/08/2007 13:57:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Kmover - Application Security error
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Novell 6.x
Database:
MS SQL Server
Miscellaneous
Thread ID:
01249657
Message ID:
01249657
Views:
59
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
Map
View

Click here to load this message in the networking platform