Simplicty and flexibility!


New Function in 8 - SetMemoValue() - GUI function that push a value into a Memo (Ver. 8.0.0.1280)

Started by DataEase
You will need to Sign In to be able to comment on the Blog!

New Function in 8 - SetMemoValue() - GUI function that push a value into a Memo (Ver. 8.0.0.1280)

Sorry folks. Too much to do and too little time to do it so this blog entry is a little delayed...

This is the complementary function to SetValue() for normal fields and again the complementary function for the PRISM function MemoMemoCopy().

This function allow you to set the visible part of a Memo Edit control by copying the content of a PRISM memo field to the GUI Object.

Format: SetMemoValue("MyMemo",PrismMemo)

This can be useful in many contexts but one particular spring to mind...from inside ExecDQL.

You can manipulate a MemoField in the DQL and when finished you simply push it back into a visual control in the Form.

Example:

define temp "retval" text .
for MemoTest ;
retval := SetMemoValue("DestMemo",FromMemo) .
This sample is a stupid sample that copy a memo from one record and push it into the on screen records "DestMemo" object.


Written by DataEase 08/05/13 at 13:39:21 Dataease [{8}]FIVE