cancel
Showing results for 
Search instead for 
Did you mean: 

Field ... has no defined value

Former Member
0 Kudos

Hello everybody!

I have a question about smartforms. I've declared the global variable N with default value 0. Then I've made some calculations with it thus it has now some value. But the warning message <b>Field N has no defined value</b> is appeared in the text node where I want to print this variable. Why does it happen?

Regards,

Pavel

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Following code will solve your problem.

1. Goto Global Definitions->Initialization.

2. Give Variable Name in Input Parameters.

3. Then, write CLEAR : variable_name in the empty area.

4. Activate it.

Reward points if the answer is helpful.

Regrads,

Mukul

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Pavel,

This will solve your problem:

Go to "Global Definations". On right hand side go to "Initialization" tab. Here pass your variable as input & output & assingh default value here.

Ashven

Former Member
0 Kudos

Thank you very much. It helped me! Points rewarded!

Former Member
0 Kudos

jst give the field name in <b>global defination>initialization>input parameter tab</b>

The reason for this is.. in smartforms.. system will check weather you are passing the value o declered varialble.. it will identify only the fields enterd in Input and out put parameters of the initialization tab of the global declarations..

Note:.. when you are assigning the value to the variable in the initialization the don't forget to enter the field name in the input, output parameters of the Initialization or in Program lines(if u r changing the value in program lines)...

otherwise the value will not be printed off.

<b>Please Close this thread.. when u r problem ise solved</b>

Reward if helpful

Regards

Naresh Reddy K

Message was edited by:

Naresh Reddy