View previous topic :: View next topic
|
Author |
Message |
Niveditha
New User
Joined: 10 Mar 2009 Posts: 6 Location: chennai
|
|
|
|
I developed a panel with some input fields and one ouput field. After displaying if I give some values in the input field and enter I'm able to get the values in my program. But if I move some values to the output field of the panel and display the panel I'm not able see output field populated on the panel. After trying so many things i just used VPUT to populate the output field from the program and then displayed. Now the information is getting displayed. Can anyone explain why this happens. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
I think that without seeing your code, we can't help you much...
O. |
|
Back to top |
|
|
Niveditha
New User
Joined: 10 Mar 2009 Posts: 6 Location: chennai
|
|
|
|
Just tell me the general procedure to populate the ouptu fields in of panel. Is it enough to move the value to the output variable and the display the panel. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Yes, that should work. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
Check the VDEFINE parameters and the storage location of your output variable area. Make sure you're moving a value there. |
|
Back to top |
|
|
Niveditha
New User
Joined: 10 Mar 2009 Posts: 6 Location: chennai
|
|
|
|
Hi,
But if i just move the values to the output variable and display the panel, I am not getting them displayed. Please help me |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Odd behavior... just tested, and worked for me
the rexx
Code: |
000001 /*REXX - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
000002 /* */
000003 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
000004 Trace "O"
000005 Address ISPEXEC
000006 "CONTROL ERRORS RETURN"
000007 O0 = "a1"
000008 O1 = "b2"
000009 O2 = "c3"
000010 i0 = "xx"
000011 i1 = "yy"
000012 i2 = "zz"
000013 "DISPLAY PANEL(ZTEST)"
000014 say "O0 =" O0
000015 say "O1 =" O1
000016 say "O2 =" O2
000017 say "i0 =" i0
000018 say "i1 =" i1
000019 say "i2 =" i2
000020 exit
|
the panel
Code: |
000001 )ATTR
000002 ! TYPE(output) INTENS(HIGH)
000003 " TYPE(output) INTENS(LOW)
000004 _ TYPE(INPUT) INTENS(HIGH)
000005 $ TYPE(INPUT) INTENS(LOW)
000006 )BODY
000007 %-------------------- TITLE FOR ENTRY PANEL --------------------------
000008 %COMMAND ===>_ZCMD
000009 %
000010 + Out 0 ....!o0 +
000011 + Out 1 ...."o1 +
000012 + Out 2 ...."o2 +
000013 +
000014 + In 0 ...._i0 +
000015 + In 1 ....$i1 +
000016 + In 2 ....$i2 +
000017 +
000018 )INIT
000019 )REINIT
000020 )PROC
000021 )END
|
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I think that without seeing your code, we can't help you much... |
Quote: |
Just tell me the general procedure to populate the ouptu fields in of panel. Is it enough to move the value to the output variable and the display the panel.
But if i just move the values to the output variable and display the panel, I am not getting them displayed. Please help me |
I suppose your code is just too special to be posted. . . . Had you done as requested and posted the problem code more than a week ago someone would already have shown you a solution your problem. . . |
|
Back to top |
|
|
|