Simplicty and flexibility!


New Function in 8 - MemoMemoCopy() - Copy, Insert or Append a Memo to another (Ver. 8.0.0.1005)

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

New Function in 8 - MemoMemoCopy() - Copy, Insert or Append a Memo to another (Ver. 8.0.0.1005)

This little function is together with MemoReplace() almost the centrepiece of the Memo Class.

As you might have already discovered, normal DataEase functions like Jointext, Firstc, MidC or even Concat, doesn't go very far when it comes to Memo fields.

Jointext(Memofield1,Memofield2) will only return the 256 characters of the first memo field....BOOORING!

But again, who need to merge to Post-it notes, because that is what Memo is, isn't it?

You might not need it but if you do, MemoMemoCopy does it all.

You can append one memo to another, you can insert it at the beginning of another, or you can simply copy/overwrite it.

int MemoMemoCopy(MemoToCopyTo,MemoToCopyFrom,switch) Switch 0=Append 1=Overwrite 2=Insert at beginning.

Have a go!


Written by DataEase 29/09/11 at 12:32:32 Dataease [{8}]FIVE
DG3_BlogList