Board index » delphi » Convert PX Formatted memo to RTF

Convert PX Formatted memo to RTF

I have a PX 7 app that started off as a PX 4.5 Win app about 5 years ago. A
couple of the fields are formatted memos.

My understanding is that this format is proprietary to Borland and can only
be seen/edited from within Paradox.

If that's correct, is there a way to convert these fields to RTF or some
other generic format?

Thanks

Keith

 

Re:Convert PX Formatted memo to RTF


You're right : pdx fmt memo can just be used with paradox.
Borland had never published the format (not a great industrial secret, but
they probably thought it is !).
I don't know any converter, sorry.
I think you'll have to find this by yourself in dumping some memos...

--
Olivier Dahan
oda...@{*word*104}cable.fr
Delphi 32b C/S certified engineer
Keith Marbach <kmarb...@texas.net> a crit dans le message :
7hhb8n$2a...@forums.borland.com...

Quote
> I have a PX 7 app that started off as a PX 4.5 Win app about 5 years ago.
A
> couple of the fields are formatted memos.

> My understanding is that this format is proprietary to Borland and can
only
> be seen/edited from within Paradox.

> If that's correct, is there a way to convert these fields to RTF or some
> other generic format?

> Thanks

> Keith

Re:Convert PX Formatted memo to RTF


Quote
>I have a PX 7 app that started off as a PX 4.5 Win app about 5 years ago. A
>couple of the fields are formatted memos.
>My understanding is that this format is proprietary to Borland and can only
>be seen/edited from within Paradox.
>If that's correct,
Yes
> is there a way to convert these fields to RTF or some
>other generic format?

You can do it in paradox with a little objectPal by copying from the formated
memo field to the clipboard and from the clipboard into a binary field that you
can hook your Rtf control to.

here is some objectPal code
var
      fmem  Memo
      bin   Binary
   endVar
   edit()
   fmem = f1.value;
   fmem.writeToClipboard()
   bin.readFromClipboard("Rich Text Format")
   dmPut("tbl_fmemo","BnaryField1",bin)

--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Re:Convert PX Formatted memo to RTF


Alright! Thanks.

Quote
Brian Bushay TeamB wrote in message <3744ef44.50011136@floyd>...

>>I have a PX 7 app that started off as a PX 4.5 Win app about 5 years ago.
A
>>couple of the fields are formatted memos.
>>My understanding is that this format is proprietary to Borland and can
only
>>be seen/edited from within Paradox.
>>If that's correct,
>Yes
>> is there a way to convert these fields to RTF or some
>>other generic format?
>You can do it in paradox with a little objectPal by copying from the
formated
>memo field to the clipboard and from the clipboard into a binary field that
you
>can hook your Rtf control to.

>here is some objectPal code
>var
>      fmem  Memo
>      bin   Binary
>   endVar
>   edit()
>   fmem = f1.value;
>   fmem.writeToClipboard()
>   bin.readFromClipboard("Rich Text Format")
>   dmPut("tbl_fmemo","BnaryField1",bin)

>--
>Brian Bushay (TeamB)
>Bbus...@NMPLS.com

Other Threads