php-xbase icon indicating copy to clipboard operation
php-xbase copied to clipboard

Cannot use Y column type

Open Mysak007 opened this issue 1 year ago • 1 comments

Hello, I'm trying to use money type in my DBF file, but I tried all TableTypes and still getting this error: Table not supports Y column type

        $header = HeaderFactory::create(TableType::VISUAL_FOXPRO);

        // příprava tabulky pro faktury vydané
        $invoceTable = new TableCreator(self::FILEPATHINVOICE, $header);
        $invoceTable
            ->addColumn(new Column([
                'name' => 'CASTKA',
                'type' => FieldType::CURRENCY,
                'length' => 19,
                'decimalCount' => 4,
            ]))

Is it a bug or I'm wrong somewhere? Thanks Michal

Mysak007 avatar Jul 24 '23 11:07 Mysak007

Hi! Were you able to fix this? Or at least could you share the exact error you got?

gadget00 avatar May 07 '24 01:05 gadget00