on 03-16-2011 9:37 AM
Hi expert´s,
I've got two new fields to a form, i recovery the content from control program.
I have this code in form:
CASE &ZM003-LIN_NOTAS(6)&
WHEN '$$T2$$'
-Condiciones de envío
WHEN '$$3$$'
-Condiciones de embalaje
WHEN '$$T4$$'
-Condiciones de facturación
WHEN '$$T5$$'
-Condiciones de calidad
WHEN '$$T6$$'
-Condiciones de fecha de entrega
WHEN '$$T7$$'
-Observaciones de pedido
WHEN '$$T10$$'
-Canarias:
WHEN '$$T8$$'
-Condiciones de facturación (para la pos &ZM003-LIN_NOTAS+6&)
WHEN '$$T9$$'
-Descripción compra (para la pos &ZM003-LIN_NOTAS+6&)
WHEN '$$T11$$'
-Condiciones particulares de la adjudicación
WHEN OTHERS
&ZM003-LIN_NOTAS&
ENDCASE
The new variable '$$T10$$' not paint -Canarias, the form paint '$$T10$$'.
In other case, for example '$$T5$$' the form paint -Condiciones de calidad.
i don´t know becuse in '$$T10$$' case the form paint '$$T10$$'.
Can you help me?
Edited by: Thomas Zloch on Mar 16, 2011 10:51 AM - subject adjusted by moderator
I am resolved problem. the problem was the length of the variable.
very thank´
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CASE &ZM003-LIN_NOTAS (6)&
$$T10$$ is 7 characters as is $$T11$$, so $$t10$ (6) is not equal to $$T10$$ (7)!
In these cases the logic falling through to the WHEN OTHERS....
I'd remove the (6) from the case statement if possible (depending upon possible values of the variable), or make the (obvious) change to '$$T10$' and '$$T11$'.
Edited by: BreakPoint on Mar 16, 2011 4:12 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.