Formatting CHAR(16), OCTETS without { .. }

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
upscene
Posts: 296
Joined: Thu 19 Oct 2006 08:13

Formatting CHAR(16), OCTETS without { .. }

Post by upscene » Tue 23 Nov 2021 14:56

Hi,

I've added a DataTypeMap rule as per your documentation:

Code: Select all

DataTypeMap.AddDBTypeRule(ibcCharBin, 16, 16, ftGuid)
But this formats the output with curly brackets. Is it possible to add a format that removes the curly brackets?

The AddDBTypeRule method takes a Format parameter but I can't figure out how it's supposed to be used.

With regards,

Martijn

Post Reply