trichview.support
Re: Building a Master/Detail |
Author |
Message |
Sergey Tkachenko |
Posted: 04/28/2005 22:13:41 This procedure adds document in rv2 to the end of document in rv: var Stream: TMemoryStream; Stream := TMemoryStream.Create; rv2.SaveRVFToStream(Stream, False); Stream.Position := 0; rv.InsertRVFFromStream(Stream, rv.ItemCount); Stream.Free; You can call this code repeatedly to concatenate several documents in one. > > Hi > > referring to the topic: "Master/Detail Fields in the DBRichViewEdit" > I would like ideas to make this using Sergey suggestion! > > suggestion: > """ > it consists of 3 parts: > - top part > - middle part repeatable for each record > - bottom part. > You can prepare 3 documents and assemble them in one on displaying > (repeating the middle document for each record). > """ > > how make a "middle part repeatable for each record" ? > I prepare 3 documents as suggested. > They will be 3 blob fields in a table, ok ? > How make to assemble them in one? > > It is very important for me make this. > I am not obtaining to have the correct logic. How "connect" the records table > detail with 3 documents. Because they will have fields that will be replaced > with FillFields. > > They could help me? > > very thanks |
Powered by ABC Amber Outlook Express Converter