>I am having the "Insufficient Memory" error when a user defined popup is created on a fast machine. I have read threads before having to do with popups created with the "prompt field" option. The error I seem to be having, however, is when the popup is created from an array as in
>
>@ 0.000,0.333 GET L_KEY ;
> PICTURE "@^" ;
> FROM L_KEYREF ...
>
>where L_KEYREF is an array. A proposed solution from an earlier post by David Fluker relating to the "prompt field" variety involved creating a UDF and using that as the field name in the "prompt field" expression and having that UDF impose a slight delay thereby slowing down the creation of the list. Is there something similar that can be done when creating a popup from an array?
Larry,
I tried several things but had the same result you did. The only thing I came up with was to copy the array into a cursor and use PROMPT FIELD. This should require limited changes to your code, unless you are making changes to the list box array while it is in use, then you'll need to update both. Also, there is some overhead while you copy the array to the cursor, but hopefully the same high speed that is causing the problem will minimize the overhead.
Sorry it took so long to get back to you, I've been out of town - not DevCon :-(
Good luck with this one,
David.