Re: Forms6 Conversion to/from text FMB <=> FMT

From: Robert Meerwaldt / Heleen van Beekhuizen <meerwaldNOSPAM_at_worldonline.nl>
Date: 2000/05/12
Message-ID: <8fgatm$9of$1_at_nereid.worldonline.nl>#1/1


You are quite right. We use Forms 5.0 and it already has this annoying feature !!!

We also use PVCS, and I spent hours and hours creating a workaround for the $Revision $ and $Date $ problem ...and found it at last.

I found that 99% of the code in FMT's is hexadecimal with only a few exceptions ... one of them is the default values of parameters.

So what you have to do is create two VARCHAR(100) PVCS_DATE & PVCS_REVISION parameters with the default values $ 12 may 2000 $ and $ 1.0 $

These parameters must be copied (NOT referenced!!) into every form ...yes lots of boring work :-(

If you then convert this FMB into an FMT and check it into PVCS and check it out again, you will see PVCS has updated it ...

Good luck ...

Robert

"af$in" <aghafooriNOagSPAM_at_hotmail.com.invalid> schreef in bericht news:2143e222.be7b0e5f_at_usw-ex0104-033.remarq.com...
> I don't know if you have used Forms4.5's conversion to FMT
> feature or not. The facility would have converted the .FMB
> (binary) into .FMT (text).
> This was ideal for allowing the source to be read using a simple
> text editor.
>
> For the past few weeks, we have been converting everything to
> Developer 6.
> Forms 6 also allows conversion to/from text/binary, but for
> reasons that escape me, Oracle has decided to encrypt all the
> PL/SQL code within the .FMT using hexadecimal (presumably to stop
> people from manipulating their FMT manually!).
>
> This makes the whole idea of .FMT useless. This is especially
> important for us since
> 1. We want to carry out 'impact analysis' on the ASCII source of
> our software (i.e., look for patterns in the source like a column
> name)
> 2. we use the PVCS version maneger and using the PVCS keywords
> (e.g., $Revision $), we automatically track version numbers for
> our software.
>
> Does anyone else find this infuriating?
> Any ideas / Workarounds?
>
> Thank you in advance.
>
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network
 *
> The fastest and easiest way to search and participate in Usenet - Free!
>
Received on Fri May 12 2000 - 00:00:00 CEST

Original text of this message