🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1689

Change default field type from TBCDField to TFMTBCDField when using dynamic fields

#1689
From: Yangkai Liu
Date: Wed, 07 Apr 2004 05:07
7 lines
1399 bytes
Hi,

I am writing console program which can access MS SQL server and I need precision more than 4 digits after the decimal point.  The database field type is decimal and there is no way for me to change that.  The dynamic field generated has type TBCDField, which has only 4 digits precision after the decimal point.  According to document, there is no way to change data type for a dynamic field.  Is there any way to make the default data type to be TFMTBCDField? Or is there any better soulution?


YangKai Liu
Technical Details
Message-ID: <40737e76$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,894c32b4470ce710,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2004-04-06 21:09:29 PST
From: "Yangkai Liu" <yangkai.liu@burkelee.com>
Sender: "Yangkai Liu" <yangkai.liu@burkelee.com>
Reply-To: "Yangkai Liu" <yangkai.liu@burkelee.com>
Subject: Change default field type from TBCDField to TFMTBCDField when using dynamic fields
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 61.222.26.93     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <40737e76$1@newsgroups.borland.com>
Date: 6 Apr 2004 21:07:18 -0800
X-Trace: newsgroups.borland.com 1081310838 207.105.83.66 (6 Apr 2004 21:07:18 -0800)
Lines: 7
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail