Problema com campo DBmemo
Ola a todos,
Tenho um campo do tipo BLOB SUB_TYPE 1 SEGMENT SIZE 100, e no formulario(DBMemo) sempre que introduzo alguma informação dá-me este ERRO
´Non-blob column in table required to perform operation´
Caso nao introduza nao ocorre qualquer erro. Que poderá ser
Agradeci a ajuda
Tenho um campo do tipo BLOB SUB_TYPE 1 SEGMENT SIZE 100, e no formulario(DBMemo) sempre que introduzo alguma informação dá-me este ERRO
´Non-blob column in table required to perform operation´
Caso nao introduza nao ocorre qualquer erro. Que poderá ser
Agradeci a ajuda
Nilpedro
Curtidas 0
Respostas
Edilcimar
06/01/2006
mostre o código, pois a tradução é de que vc não precisa de um campo blob para efetuar a operação, provavelmente vc esteja salvando de forma errada
GOSTEI 0
Nilpedro
06/01/2006
Apenas introduzi o seguinte componente:
object Obs: TbsSkinDBMemo
Left = 6
Top = 171
Width = 363
Height = 81
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = 14
Font.Name = ´Arial´
Font.Style = []
Lines.Strings = (
´DBMemo1´)
ParentFont = False
ReadOnly = True
TabOrder = 7
OnMouseMove = ObsMouseMove
DefaultFont.Charset = DEFAULT_CHARSET
DefaultFont.Color = clWindowText
DefaultFont.Height = 14
DefaultFont.Name = ´Arial´
DefaultFont.Style = []
UseSkinFont = True
BitMapBG = False
SkinData = Inicio.bsSkinData1
SkinDataName = ´memo´
DataField = ´OBS´
DataSource = srcproduto
end
E codigo tabela é:
CREATE TABLE PRODUTOS
(
ID_PRODUTO INTEGER NOT NULL,
....
OBS BLOB SUB_TYPE TEXT SEGMENT SIZE 100,
.....
CONSTRAINT ´FK_PTK´ PRIMARY KEY (´ID_PRODUTO´)
);
E tenho um barra de navegação que efectua confirmação dos dados
bigado pela atenção
object Obs: TbsSkinDBMemo
Left = 6
Top = 171
Width = 363
Height = 81
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = 14
Font.Name = ´Arial´
Font.Style = []
Lines.Strings = (
´DBMemo1´)
ParentFont = False
ReadOnly = True
TabOrder = 7
OnMouseMove = ObsMouseMove
DefaultFont.Charset = DEFAULT_CHARSET
DefaultFont.Color = clWindowText
DefaultFont.Height = 14
DefaultFont.Name = ´Arial´
DefaultFont.Style = []
UseSkinFont = True
BitMapBG = False
SkinData = Inicio.bsSkinData1
SkinDataName = ´memo´
DataField = ´OBS´
DataSource = srcproduto
end
E codigo tabela é:
CREATE TABLE PRODUTOS
(
ID_PRODUTO INTEGER NOT NULL,
....
OBS BLOB SUB_TYPE TEXT SEGMENT SIZE 100,
.....
CONSTRAINT ´FK_PTK´ PRIMARY KEY (´ID_PRODUTO´)
);
E tenho um barra de navegação que efectua confirmação dos dados
bigado pela atenção
GOSTEI 0