Unsupported operation

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
ivk
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 17.04.2006, 15:10

Unsupported operation

Post 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;
btrewern
Expert Boarder
Expert Boarder
Posts: 193
Joined: 06.10.2005, 18:51

Post by btrewern »

Find where ftInteger is declared and include that unit.

Regards,

Ben
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post 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.
Post Reply