Re: TZF - DBF.SetMField

[email protected]
Newsgroups gmane.comp.lang.delphi.topaz,gmane.spam.detected
Message-ID <[email protected]>

Thanks Marie -

As it turns out, I was not telling you all of the story.
I had a TzMemo object on that same form and was
expecting it to change when I did the  SetMField.
The info in the database was actually being modified,
as it was suppose to be.
I had to modify my code to :

      s:=(DM.DBF_B_Steps.GetCField('Step1'));
      memo.add(s);
      tzMemo13.Lines.Add(s);

Thanks for the help.  Next time I will try to
give you all the information to start with.  
:)
Bob

In a message dated 3/12/2003 10:41:01 AM Eastern Standard Time, 
[email protected] writes:


> Opps!  The 'memo' threw me.  You might need to do either AppendRec or 
> ReplaceRec after the Add.
> 
> var MyList: TStringList;
> begin
>       MyList := TStringList.Create;
>       MyList.Add('None');
>       dmod.CPEreport.SetMField('memo1',mylist);
>       dmod.CPEreport.AppendRec;
>       MyList.Free;
> end;
> 
> Marie
> 

==^================================================================
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.