Update A Form In Realtime

davidspdavidsp Member Posts: 18
Hello,
this is my question:
i have a text on a form: pressing the text i run some code.
I need to update the field "field1" on the form during running this code.
I mean:
some code.......
field1 := "text1"
currform.update(true)
some code..........
field1 := "text2"
currform.update(true)
etc... etc...
So i can update the form in realtime.
The fact is that during the code nothing happens even if in debug i check that the field has been changed. So the form doesn't update in realtime.
Suggestions?
Thanks in advance.

Comments

  • krikikriki Member, Moderator Posts: 9,110
    What do you mean with "pressing the text"?
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • davidspdavidsp Member Posts: 18
    I mean that i have a text box in the form. Linked to that text box i have a codeunit.
    Thanks
  • DenSterDenSter Member Posts: 8,305
    I think you're looking for the OnInputChange or OnAfterInput trigger.
  • davidspdavidsp Member Posts: 18
    Hello,
    i'm trying another way:
    I have a form.
    On this form i have a control, under it i have some code.
    The purpose is to launch another form (after pushing the text box on the first) that will update telling what the code is doing.
    So i need to setup a text box on the second form and update it during the codeunit.
    Suggestions?
  • DenSterDenSter Member Posts: 8,305
    :shock: Maybe tell us what the purpose is? I have no idea what you are trying to do with this.
  • SLF25SLF25 Member Posts: 37
    Use dialog data type. Check any posting for example.
Sign In or Register to comment.