>*Tablas potencialmente relacionadas
>SET DEFA TO c:\psv
>use mydet
>SELE DIST tabla FROM cconfbase WHERE UPPER(LEFT(nombre,3))=="COD" INTO CURSOR MyRelTables
>SELE MyRelTables
>
>SCAN
> SELECT tabla, nombre, tipo, ancho, decimales FROM cconfbase ;
> WHERE MyRelTables.tabla = cconfbase.tabla ;
> ORDER BY tabla, nombre INTO DBF allt(tabla)+".dbf" CURSOR MyDetTemp
>
> SELE MyDetTemp
>* REPORT FORM c:\psv\cconfbase.FRX TO PRINTER PREVIEW
> REPORT FORM c:\psv\cconfbase.FRX TO FILE allt(MyDetTemp.tabla)+".txt" ASCII
>
>ENDSCAN
Pable,
I suspect this is a part you forgot (taken from other newsgroup)
Hello group,
This routine "eats" all my memory and resources. There
are just about ten reports shown... It gives me -sometimes-
Err C00005, some others not.
I have a PIII, with 128 MB.
By the way, a simple -and very small- result group is
retrieved from the SQL Select command.
Any clue?,
Regards,
Bastian V.
----------------------(1) You have both a DBF and Cursor in the INTO part of the select
(2) It may help to set the resource OFF for your report previews, or delete FoxUser.* altogether
Gregory