Skip to Content
0
Nov 29, 2011 at 12:17 AM

how to use application class reference in the controller methods of BSP

32 Views

Hi,

I have created a bsp application and also created an application class and assigned it to the application class. In the application class, I have created attribute TEXT type string(public and instance parameter).

In the controller let's say main.do, I am trying to give a value to to the text by adding the following code.

application->text = 'test'.

I am getting syntax error saying field 'text' is unknown. It is not contained in one of the specified tables nor defined by DATA statement.

Please can someone let me know how to use the application class in the coding with an example. I couldn't find how exactly this has to be reference. Please help.

Best regards

Siva