The error number you reported said a SQLMORERESULTS was still executing. The line that probably actually fixed the problem was setting BatchMode to .T. but I also had you set asynchronous to .F. just for added measures. I have modified my class to handle this in the future. Thanks for helping make this a better builder.
>Hi Mark,
>
>In the INIT Procedure, i put the lines that you tell me, and now it work's.
>Any comments?
>
>
>CURSORSETPROP("MaxRecords", -1, 0)
>*!* Mark
>SQLSETPROP(0, "Asynchronous", .F.)
>SQLSETPROP(0, "BatchMode", .T.)
>*!* END Mark
>
>
>Thank's
>
>João Batista
Mark McCasland
Midlothian, TX USA