FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
problemas con ibstoredproc para almcenar una imagen
por favor alguien me ayude a saber como le puedo asignar la imagen al parametro del stored procedure se los agradeceria muchisimo llevo dias sin encontrar una solucion, gracias.
procedure TEmpresa.modificar; var sp: TIBStoredProc; begin sp:=TIBStoredProc.Create(nil); sp.Database:=DtMdlEstetica.DbEstetica; sp.StoredProcName:='SP_MODIFICA_EMPRESA'; sp.Params.CreateParam(ftString, 'PI_NOMBRE', ptInput).AsString:=nombre; sp.Params.CreateParam(ftString, 'PI_DOMICILIO', ptInput).AsString:=domicilio; sp.Params.CreateParam(ftString, 'PI_TELEFONO', ptInput).AsString:=telefono; sp.Params.CreateParam(ftString, 'PI_PAGINAWEB', ptInput).AsString:=paginaweb; sp.Params.CreateParam(ftGraphic, 'PI_LOGO', ptInput).Assign(logo); sp.ExecProc; sp.Free; end; |
|
|
|