Column size - how to get in metadata

Forum related to the ZDBC API-Layer

Moderators: gto, cipto_kh, EgonHugeist

slw
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 24.09.2010, 22:59

Column size - how to get in metadata

Postby slw » 24.09.2010, 23:08

I am using ZEOSDBO-6.6.6-stable. I need some of the metadata properties of the Resultset and I am not able to get the Column size

Code: Select all

  Meta := ResultSet.GetMetadata;
  ColumName := Meta.GetColumnName(I);
  ColumnType := Meta.GetColumnType(I);
  ColumnSize := ???

guidoaerts
Senior Boarder
Senior Boarder
Posts: 93
Joined: 01.07.2009, 16:07

Postby guidoaerts » 26.09.2010, 15:05

meta.ColumnDisplaySize

Guido

slw
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 24.09.2010, 22:59

Postby slw » 30.09.2010, 16:30

I have tried Meta.GetColumnDisplaySize(I) but it returns 0 for all the columns in the table. I am using Firebird 2.1.3


Return to “ZDBC (ZEOS Database Connectivity)”

Who is online

Users browsing this forum: No registered users and 1 guest