Rodolfo,
o Erro 1526, é gerado pelo VFP, para dizer que é um erro de conectividade. Os detalhes deste erro, e como trata-lo vc pode pegar com a Funçao AERROR()
Os elementos retornados, segundo o help do VFP, são os seguintes :
1 Numeric. Contains 1526.
2 Character. The text of the error message.
3 Character. The text of the ODBC error message.
4 Character. The current ODBC SQL state.
5 Numeric. The error number from the ODBC data source.
6 Numeric. The ODBC connection handle.
7 The null value
Paulo Cesar Carneiro
desenvolvimento@controplan.com.br"My God, what have we done?"
-- Capt. Robert Lewis, co-pilot of the Enola Gay, recalling the moment the atomic bomb exploded over Hiroshima
At 8:15 a.m. on August 6 1945