Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smart-form Error

Former Member
0 Likes
642

Hi all,

I have made use of a text-element in my smartform and have passed 2 variables. But on activating it gives error as field "xxx" has no defined value.

I have declared the variable in the global declarations and have used it in the code of the smart-form.

How do I correct the error?your ideas appreiciated.

Thanks,

Stock.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
591

Hello,

Initialize the variable in the Intialization tab in the Global Defination.

e.g: if the variabe is a char, var = ''. or if variable is an integer , var = 0.

Hope this helps.

Regards,

Shehryar

4 REPLIES 4
Read only

Former Member
0 Likes
591

is it error u r getting while activating..???

Must be u r getting Warning, that time... if that is the character field, give a default value as space in Global Settings of smartform, if that is Qty type of field, give an initial value(defalut value), there after u wil not get such warnings.. while activating the same.. if its error, let me know the description of it.

Hope this idea may help u.

Regards,

Sujatha.

Read only

Former Member
0 Likes
591

Hi stock,

While passing to varibale in program logic element there two parameters output parameter and input parameter.so pass the varible which u have declared globally in output parameters.

Rgds,

Sunil.K

Read only

Former Member
0 Likes
591

Hi Sunil,

I have passed the variable in the output parameters of the code, still getting the error ?

Thanks,

Stock

Read only

Former Member
0 Likes
592

Hello,

Initialize the variable in the Intialization tab in the Global Defination.

e.g: if the variabe is a char, var = ''. or if variable is an integer , var = 0.

Hope this helps.

Regards,

Shehryar