Skip to Content
author's profile photo Former Member
Former Member

Field ... has no defined value

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 01:51 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 01:48 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 01:53 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.