I'm developing a database application on delphi 7 and Microsoft Access.
I have a memo field in a table called 'requrimientos' and in my form a dbgrid showing this table. There is a TMemo in the form wich i want to put the info from the dbmemo field everytime the user clicks on a cell in the dbgrid.
This is my source:
procedure TForm1.DBGrid1CellClick(Column: TColumn);
Aux : TMemo;
memo := TBlobStream.Create(Conex.Juegosrequrimientos, bmRead);
Where 'Conex' it's a DataModule where i have all de objects related to the database.
The project is well compiled, but the problem is at runtime, when i click on a cell i get a 'Invalid class typecast' error.
Someone knows why?
Thanks in advance.