That the problem, I need to create a select string that is build before the Cursor Statement is call, But the Declaration line does not allow use the @SQLStatement , so How I can execute the line after I build my statement.
Gregorio J. Placeres IT Analyst Uniform Accounting Network Auditor of State of Ohio 88 East Broad Street P.O. Box 1140 Columbus, Ohio 43216-1140