Kbase P29772: How to dynamically call sequence and return their values.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/01/2007 |
|
Status: Unverified
GOAL:
How to dynamically call sequence values.
FIX:
In current versions of Progress (9.1D, 8.3E) there is no method available to invoke current-value dynamically. However, using some simple logic we can overcome this.
Simply create a procedure that returns the current or next value, which ever is the proper choice for your applications goal. Then you can dynamically choose which procedure to run dynamically using the value option.
Sample Syntax;
RUN VALUE(variable).