🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: att.database.research
Article #6

Problem with DBase Tables in Delphi

#6
From: Eric L�vesque
Date: Sat, 05 Dec 1998 00:00
26 lines
1726 bytes
Hello,

We are working with DBase IV tables on Delphi 3.0.
The TableType property of the Table Object ttDBase.
We have a problems with all numerics data types (with or without decimals).
So, when we have fields like these ones :
            Data Type    Length    Decimal
1          Numeric        6             0
2          Numeric        5             2
Delphi return a FLOAT datatype for both of these fields
Too, when we are copying FieldsDefs property of a table to a new one, all
numeric fields are created like this.
Table From
                               Data Type    Length    Decimal
1          Field1        Numeric        6             0
2          Field2        Numeric        5             2
Table To
                               Data Type    Length    Decimal
1          Field1        Numeric        20           4
2          Field2        Numeric        20           4
Does anybody can tell us why Delphido it. Is it something we do not do
correctly or a bug of Delphi. Is it a patch , it it something we can do to
correct theis problem???
Thanks in advance!
Eric L�vesque
eric.omnisoft@videotron.ca
Technical Details
Message-ID: <e8la2.568$LM6.1515@weber.videotron.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 113ba7,a6ef4a71ce85ac1a,start
X-Google-Attributes: gid113ba7,public
From: "Eric L�vesque" <_badboy@videotron.ca>
Subject: Problem with DBase Tables in Delphi
Date: 1998/12/05
Message-ID: <e8la2.568$LM6.1515@weber.videotron.net>
X-Deja-AN: 419097925
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
X-Complaints-To: abuse@videotron.net
X-Trace: weber.videotron.net 912907914 206.231.124.129 (Sat, 05 Dec 1998 20:31:54 EDT)
NNTP-Posting-Date: Sat, 05 Dec 1998 20:31:54 EDT
Newsgroups: att.database.research