Subject Re: [IBO] type
Author Jason Wharton
Not sure if it's me or what but your post is unclear.

First off, never use DOUBLE for a primary key or referencing key. They are
hardware, OS, etc. tweakable. If you have a flag in a CPU register one way
or another it can influence how the double is interpreted. stick with data
that is static like integers for keys.

Jason Wharton

----- Original Message -----
From: "Gediminas" <gugini@...>
To: <ibobjects@yahoogroups.com>
Sent: Thursday, September 18, 2003 5:36 AM
Subject: [IBO] type


> In my DB created domain:
>
> CREATE DOMAIN PK_TYPE AS
> DOUBLE PRECISION
>
> what data type to use in BCB to save such domain value? double would be
> enough, but PK_TYPE domain is used to store PK's (integer numbers, not
real)
>
> FieldByName() has some atributes to convert as double, integer, int64 &
> etc, which to user?
>
>
>
> --/ Gediminas /--
> The Truth Is Out There
>