‎2007 Feb 26 9:04 AM
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.
‎2007 Feb 26 10:54 AM
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
‎2007 Feb 26 9:44 AM
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.
‎2007 Feb 26 9:48 AM
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
‎2007 Feb 26 10:33 AM
Hi Sunil,
I have passed the variable in the output parameters of the code, still getting the error ?
Thanks,
Stock
‎2007 Feb 26 10:54 AM
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