Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insufficient Memory with list popup
Message
De
02/10/2000 10:28:04
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgie, États-Unis
 
 
À
27/09/2000 12:25:58
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00421557
Message ID:
00423408
Vues:
18
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform