Hi!
Have no idea. Is that table contain memo fields with large content? Maybe it is really memory overflow problem.
There are also cartain sys() functions that allow some memory management. Try to play around them.
>Hi Vlad
>Thanks for your reply.
>The code is like this.
>Select ATR 'This file is > 6000 records'
>copy to array aATR while order_no = lcOrder_no for !empty(order_no)
>
>In this case not more than 50 records will be copied so 500 elements maximum.
>So why would I get the error message of not enough memory with 500 elements only.
>Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.