Using textbox (OEditModel) for database input
1. oTxtDesc.setString
This will append text to existing string
Using .Text to set.
2. So the database will never get updated even the text field is modified.
Data is only "committed" when user switch between controls. (Maybe, seems to be)
To commit the data immediately after setting with .Text, use .commit()
oTxtDesc.Txt = "Sample"
oTxtDesc.commit()
No comments:
Post a Comment