Page 1 of 1

Unsupported operation

Posted: 17.04.2006, 15:27
by ivk
Hello,

MySql, Zeos 6.5.1.

With DataModule1.ZSP1 do Begin
Close;
Params[0].Name := 'param1';

Params[0].DataType:=ftInteger; <- Undeclareted
identifire: "ftInteger" WHAT IS THAT?????

Params[0].ParamType:=ptOutput;
Open;

Posted: 18.04.2006, 08:42
by btrewern
Find where ftInteger is declared and include that unit.

Regards,

Ben

Posted: 18.04.2006, 13:25
by zippo
I think is the DB unit (at least in D6)...

From D6 help:

Indicates the type of field whose value the parameter represents.

property DataType: TFieldType;

Description

DataType is set automatically when a value is assigned to the parameter. Do not set DataType for bound fields, as that may cause the assigned value to be misinterpreted.

Read DataType to discover the type of data that was assigned to the parameter. Each possible value of DataType corresponds to a type of database field.