At the beginning of this thread, you said that you had two databases with the same permissions and that the code works on one, but not on the other. I'm trying to figure out what is different between them. There must be something different between them.
Both have exactly the same permissions?
Both have the same sort of validating?
As a starter, and only for debugging purposes, I would temporarly comment out the lines you added for validation in sub view_records. See if that makes a difference.
JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
Both have exactly the same permissions?
Both have the same sort of validating?
As a starter, and only for debugging purposes, I would temporarly comment out the lines you added for validation in sub view_records. See if that makes a difference.
JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.