Cita:
Empezado por Buelos
Código Delphi [-]m := IBDataSet1 .CreateBlobStream (IBDataSet1FOTO (1), bmWrite );
if s ='.JPEG' then
s := '.JPG'; //un caso especial IBDataSet1FORMATO_FOTO (2).AsString (3):=Copy (s ,2,3); (2)//elimino el punto
al ejecutarlo me bota el siguiente error
[Error] Unit1.pas(51): Undeclared identifier: 'IBDataSet1FOTO' en (1)
[Error] Unit1.pas(56): Undeclared identifier:'IBDataSet1FORMATO_FOTO' (2)
[Error] Unit1.pas(56): Missing operator or semicolon (3)
|
Debes declarar los campos FOTO y FORMATO_FOTO como persistentes para que te funcione ese código.
PD: no me fijé que este hilo es de noviembre del 2007