Re: TZF - DBF.SetMField

Marie Vihonsky <[email protected]>
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
Try      Memo.Lines.Add(s);

[email protected] wrote:
> 
> 
> According to the Topaz manual, the following code:
> ________________________
> var
>   s:string;
>   memo:TStringList;
> begin
>   if frmMasterGoals.showModal=100
>   then
>   begin
>     memo:=TStringList.Create;
> //  Step1, Step2 are C*80 fields in database Steps
>     s:=(DM.DBF_B_Steps.GetCField('Step1'));
>     memo.add(s);
>     s:=(DM.DBF_B_Steps.GetCField('Step2'));
>     memo.add(s);
> //  Step1 is a memo field in the database Children
>     DM.DBF_Children.SetMField('mySteps',memo);
>     memo.Free;
>   end;
> end;
> ________________________
> 
> should set the memo field (mySteps).  It does
> not work.  I dont get an error message, but the
> field  "mySteps"  does not get changed.  I have debugged it,
> checking the value of   "s"   and that is working
> fine.  Anyone offer any advice??
> 
> Thanks,
> Bob
> 
> 

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt
Or send an email to: [email protected]

TOPICA - Start your own email discussion group. FREE!
http://www.topica.com/partner/tag02/create/index2.html
==^================================================================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.