Stream and RichEdit
First: My english is bad [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
now, to the problem.
I have a table on ms sql server that looks like
Number Blob id
1 Data 21
2 Data 25
3 Data 29
4 Data 30
I created a RichEdit an Designtime. The ComponentName ist Rich1.
Now i want load the Blob data to the richEdit. How can I do this.
I tested in script area, but FastScript don??t know the loadFromStream Option.
thx, s0n[/img]
Comments
2. Create a query (TfrxADOQuery or any other you like to work with) that will contain your blob fields, like
select ID, MyBlobField, AnotherID from MyTable.
Attach MasterData to that query, and then use DataSet and DataField properties of your TfrxRichView control.
That should be all you need [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Regards Mick[/img]