Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Memory Tables and memo fields not displaying properly.
Fri, Mar 12 2010 7:32 AMPermanent Link

Robert Rowlands

Hello.

I'm streaming data to a memory table.

The data is displayed in a DevEx Vertical Grid via a datasource.

For some reason the memo fields do not show their content.  I get the text MEMO if the field has data and memo if it does not.

It all works fine if connected to the original table rather than a streamed memory table.

I've searched toe forum and found a thread in respect of DisplayText, but why should memory tables cause this issue?

Thanks.
Fri, Mar 12 2010 10:24 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Robert,

<< I'm streaming data to a memory table. >>

Using SaveToStream/LoadFromStream ?

<< For some reason the memo fields do not show their content.  I get the
text MEMO if the field has data and memo if it does not. >>

Are you seeing MEMO, but then not seeing any contents ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Fri, Mar 12 2010 11:13 AMPermanent Link

Robert Rowlands

Tim


<<Are you seeing MEMO, but then not seeing any contents ?>>

Yes.

Rob.
Fri, Mar 12 2010 5:29 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Robert,

<< Yes. >>

Okay, I'll check it out and see what the issue is.  I'm going to be doing a
new DBISAM release next week, so if it's a bug, I'll get it in there.

--
Tim Young
Elevate Software
www.elevatesoft.com

Fri, Mar 19 2010 8:26 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Rob,

I'm not seeing any issue here with 4.29 B2.  The code I'm using is rather
simple:

var
  TempMemoryStream: TMemoryStream;
begin
  TempMemoryStream:=TMemoryStream.Create;
  try
     with DBISAMTable1 do
        begin
        SaveToStream(TempMemoryStream);
        EmptyTable;
        LoadFromStream(TempMemoryStream);
        end;
  finally
     FreeAndNil(TempMemoryStream);
  end;
end;

I'm basically saving the contents of a table with a memo and graphic field
(biolife) to a stream, emptying the table (verifying this in DBSYS after the
EmptyTable, but before the LoadFromStream), and then checking the table
afterwards in DBSYS.  The memo and graphic fields both stream back and forth
just fine.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image