troubleshooting Question

VFP 9 view temporarily unable to access SQL table

Avatar of woodwyn
woodwynFlag for United States of America asked on
FoxProMicrosoft SQL Server
2 Comments1 Solution468 ViewsLast Modified:
This morning when users tried to open a particular form in a VFP app all they would get was an hour glass.  The app uses ODBC to a SQL 2000 DB.  Suspecting a SQL table may have been corrupted I opened all the primary tables in enterprise manager, but found no issues.  I set up the ODBC connection to the users DB from my VFP development environment, which is in a seperate location and has its own DBC.  Then I accessed the data environment of the form and browsed all the views until I found the one that gave me the hour glass and locked up VFP.  Because I was getting the same behavior in two environments I don't see how the view could have been corrupted, which was my second suspicion.  

I opened my DBC, located the failing view, right clicked and selected Modify.  Then I right clicked and selected view SQL, looked it over, closed that, right clicked again and selected Run Query, entered a valid GUID for the filter and it returned the expected record.  After that the view in the forms data environment worked and the users could open the form again.  

Everything seems to be fine right now, but I don't like not understanding what happened.  The SQL table is set up with SQL replication, but I am not seeing any issues there either.

Any thoughts on what might have occured?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros