cancel
Showing results for 
Search instead for 
Did you mean: 

Save record to database from text edit control

Former Member
0 Kudos
108

Hi ,

i using a text edit control. i need to save the data into the database. Hw can i do it?

call method g_editor->get_text_as_r3table

importing

table = it_desc.

The data is now in the table. How can i concat into a string and save to the database.

Thks. Urgent.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos
Former Member
0 Kudos

Hi Gary,

pls read the documentation:

http://help.sap.com/saphelp_nwce10/helpdata/en/44/4f68fb6fc30a65e10000000a422035/frameset

Also, check this.

insert a FormattedTextEdit, bind the value property to a context attribute called text of type FormattedText and paste this piece of code to your wdDoInit method:

codeString htmlText = "hello ";

IWDFormattedText formattedText = WDFormattedTextFactory.valueOf(htmlText);

wdContext.currentContextElement().setText(formattedText);[/code]

kindly reward if found helpful.

cheers,

Hema.