on 05-12-2008 5:57 AM
Hi,
I am using a subroutine in smartform.I have declared the perform statement in the program lines and form statement in the form routines tab of global definiions.I want to print the value of a particular field in the o/p.This field is getting populated inside this form statement.In debugging mode i can see the value for this field.But when the control comes out of the form statement,this value is missing.Now how can I print the value for this field in the o/p of the smartform?
Hi,
->Declare a variabel in the global definitions tab and in the perform use the using value and changing values in the changing value pass your field..
ex: Perform sub using a changing b.
Form sub using P_A changing P_B.
p_b = 1.
Endform.
Thanks,
NN.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you specify the variable name in output parameters of program lines, so that it stores its value. hope this solves ur problem.
if not,
take a variable of same type, ehich u want to print in global definitions, now copy the value to this, n print this variable.
hope this may work.
still any problem, post it back
reward if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you passing the variable as parameter to perform?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.