Consultor Eletrônico



Kbase 19331: SYSTEM ERROR:strent request for more than 32K / loading data
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/15/1999
SUMMARY:
An example when you can get the 893 error is when running a program that use a procedure to load data on several combo boxes or selection list.
This "load" procedure was run on the main block and the 32K limit was reached.
A workaround is to create a "local-initialize" method procedure and run the "load" procedure for the combo-boxes after the standard initialize behavior.
Example:

*------------------------------------------------------------------------------
Purpose: Override standard ADM method
Notes:
------------------------------------------------------------------------------*/

/* Code placed here will execute PRIOR to standard behavior. */


/* Dispatch standard ADM method. */
RUN dispatch IN THIS-PROCEDURE ( INPUT 'initialize':U ) .


/* Code placed here will execute AFTER standard behavior. */

run load-combo.

END PROCEDURE.


Once all the variables were initialized then the combo boxes/selection lists can be filled/loaded with no problem.