WHERE DO YOU GET THE VALUE OF gnViewDept? is this a field from your table or a variable? This should be a field from your table and must be specified a (tablename.gnViewDept)...
Music Rocks
www.musicreserve.blogspot.comSuccess is 1% Inspiration & 99% Perspiration
God Sometimes Delays His Help to Test Our Faith and Energize Our Prayers
Our Boat May Be Tossed While He Sleeps, But He Wakes Up Before it Sinks.