php-xbase
php-xbase copied to clipboard
Cannot use Y column type
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
Hi! Were you able to fix this? Or at least could you share the exact error you got?