Hi Sathya,

Did you try with RTE control (not RTE dw)? This is the way to solve your problem
of user interface, i.e. modifiable text. But, as I know (I use PB 5.0), there is
no predefined way to save the content of the letter into the database. I have
used RTE control to generate and edit different contracts, which is similar to
letters and I have developed my own service to retrieve and save the text into
the database. And it works!

The point is that you define one more column in the database of long varchar
type (I use SQL Anywhere, maybe your data type is of another name), where you
can store complete text. This should be done in the same table where you already
store your embedded fields. You should create a datastore to communicate with
the database. Instead of your embedded dw fields, you should create fields in
the RTE control and update their values with retrieved values from the
datastore. I happened to enable to users to interactively add and delete
different fields that I offer to him. Saving goes through the reverse process.

This is only the idea. If you try to think about it and meet some problems,
don't hesitate to ask for help. I can't send you my code because this is
interlaced with some other services which my company developed to extend PFC
classes and it wouldn't be useful to you. But I could extract some examples if
you had some further questions.

Regards,

Zvonimir Kuntic
[EMAIL PROTECTED]

----- Original Message -----
From: "Pandalai, Sathya" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, 07. September 2000. 21:05
Subject: PFCSIG An Unusual problem


> Hi All,
> I have a peculiar problem with pb. I am having an application where
> we generate letter thro' the pb front end. Currently the letters are
> hadrcoded into a datawindow and database fields are embedded into it to show
> the amount and some other variable fields. Now we have a requirement where
> the user wants the letter to be modifiable at runtime so that he can add
> some niceties to it. This requires the letter to be stored in a
> database(Again user requirement) and retrieved at runtime.
> Now the question is how to embed the database field like amount and
> others into a dynamically changing letter. I mean the position where the
> amount should appear would change depending on the change the user makes to
> the letter. If any body has any solutions to this please respond.
>
> Thanks and Warm Regards
>
> Sathya
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> www.mimesweeper.com
> **********************************************************************
> > [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
ADDRESS
> > A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> > SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
>

> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]

Reply via email to