Simplicty and flexibility!


New Function in 8 - MemoReplace() - Replace a string in a memo. Wake up, this is important! (Ver. 8.0.0.1006)

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

New Function in 8 - MemoReplace() - Replace a string in a memo. Wake up, this is important! (Ver. 8.0.0.1006)

So what is so important with a simple Replace function?

Everything! This is how you can really manipulate your Memo's to behave the way you want them too.

It is called Memo Class for a reason, it is in combination they become powerful!

Imagine now that you can lookup a memo field from one location, append it to another, append something else and something else until you have built a full advanced and complex document.

Imagine then that you have used tags in the code like [{customername}] or [{sumtotal}] (This is DG3 livetext tags). Then you can suddenly execute the following functions:

MemoReplace(MemoToReplaceIn,"[{customername}]",CustomerField) MemoReplace(MemoToReplaceIn,"[{sumtotal}],concat("£", sum of "orderlines" total))

You can even do this in a virtual Memo field, and then display it in a Virtual Webfield, or print it with PrintMemo()....or....or....or...

Starting to get it?


Written by DataEase 05/10/11 at 12:19:30 Dataease [{8}]FIVE
DG3_BlogList