>Borislav:
>
>I comented out my code put your code fix some typos and run it and produce the message box with the name of the 10 tables.
>
>---------------------------
>Microsoft Visual FoxPro
>---------------------------
>C:\HEAT_SUPPORT\UANSupportCallType1
>
>C:\HEAT_SUPPORT\UANSupportCallType2
>
>C:\HEAT_SUPPORT\UANSupportCallType3
>
>C:\HEAT_SUPPORT\UANSupportCallType4
>
>C:\HEAT_SUPPORT\UANSupportCallType5
>
>C:\HEAT_SUPPORT\UANSupportCallType6
>
>C:\HEAT_SUPPORT\UANSupportCallType7
>
>C:\HEAT_SUPPORT\UANSupportCallType8
>
>C:\HEAT_SUPPORT\UANSupportCallType9
>
>C:\HEAT_SUPPORT\UANSupportCallType10
>---------------------------
>OK
>---------------------------
>Compile and run it again
>and the result
>
>---------------------------
>OK
>---------------------------
>
>Same as my original code. No data in the EXE but the report show up data.
Then THAT code didn't work:
COPY TO UANSupportTop10 NEXT 10
That table is EMPTY.
Are you sure you are in the right alias?
Are you sure that table/view/cursor from which you COPY have some records?
Are that table/view/cursor from which you COPY is not at EOF()?
Check that table After you run the EXE and see how many records you have in it.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.