Default Value

Forum related to Firebird

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
osvaldotcf
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 09.03.2007, 22:40

Default Value

Post by osvaldotcf »

How i get the default value for a field from db?

My application is in lazarus.
I want the default values for the fields when an user initiate an insertion.

Thanks
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post by seawolf »

Try this function:

ZTable1.DbcResultSet.GetMetadata.GetDefaultValue(x)

where x >= 1 and x <= ColCount
Post Reply