trichview.com

trichview.support




Re: unicode encoding


Return to index


Author

Message

Richard Caruana

Posted: 02/04/2005 21:27:18



Hello Sergery,


Just a couple of questions:


1. Do I need to change any of the code ? in particular where it says 'FieldName'

I don't think so but I want to make sure.

2. Where do I place the following code :-


table.First;

while not table.Eof do

begin

  LoadRVFFromField(rv, table, 'french');

  // GetAllText() is defined in the unit RVGetTextW.

  // Do not use here the function with the same name

  // from RVGetText unit!

  SaveTextToField(RVEncodeWidestring(RVGetTextW.GetAllText(rv)),

    table, 'frenchUTF');

  table.Next;

end;


As programming is not my forte (it is not one of my strengths) I was wondering

if this code had to go into one of the Table objects 'EVENTS'

(is it correct to call them EVENT METHODS ?) It did not appear to be part of the

preceeding procedure called :-


"procedure SaveTextToField"


3. How would I call this feature with a buttonclick, or does it all happen

behind the scenes

and automatically update if I add new table records (meaning it does not need a

button )?


Any help is appreciated


Richard






Powered by ABC Amber Outlook Express Converter