cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with SAPbouiCOM.EditText field

Former Member
0 Kudos
111

Hey Everyone,

I am experiencing a problem with an edit text box on a form that I created. For some reason when I go into the add mode on the form and type into the field the text disappears as soon as I go to another one of the controls on the form.

If i leave the cursor in that text box the text stays. Has anyone experienced this problem before?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Laura

did you link the text box to a user data source, or db datasource ?

The text box needs to be linked to Source

Former Member
0 Kudos

I am still having this problem. Can anyone from SAP or someone who has had a similar problem comment on some things to investigate?

Is there an event that fires when you tab from field to field that I can check?

Former Member
0 Kudos

As the previous poster hinted, I have seen this problem occur when manipulating text of the control rather than manipulating text of the data source bound to the control. Have you bound the control to a UserDataSource?

Former Member
0 Kudos

Laura,

I had this problem and the reason was about the datasource.

If you item is linked to a UserDataSource, there is no problem.

If you item is linked to a dbdatasource, you have to ensure the datasource contains at least one record.

Can you show us the part of xml file, or VB code that you use to create your item on you form.

the event that you can catch would be et_validate. But I think it's fired when your text box is linked to datasource

HTH

Sebastien

Answers (0)