🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

working with TFloatField

#4359
From: Joel
Date: Mon, 14 Jan 2002 15:27
18 lines
984 bytes
i just can't put the Precision from TFloatField to work.

i've tried tihs

ADOQueryAfterOpen(  )
{ 
  if (DataSet->Fields->FieldByName("value")){
     TFloatField(DataSet->Fields->FieldsByName("value")).Precision = 2;
  }
}

But this doesn't work...


Can someone help me?


Joel Alexandre
Technical Details
Message-ID: <3c42f8e5_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,d8d741f756bc7628,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-01-14 07:32:35 PST
From: Joel 
Subject: working with TFloatField
Newsgroups: borland.public.cppbuilder.database.ado
NNTP-Posting-Host: 193.136.128.20
Message-ID: <3c42f8e5_1@dnews>
Date: 14 Jan 2002 07:27:33 -0800
X-Trace: dnews 1011022053 193.136.128.20 (14 Jan 2002 07:27:33 -0800)
Lines: 19
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews