🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.database.dotnet
Article #134

dataview refresh?

#134
From: Brigitte Spatz
Date: Thu, 05 Oct 2006 13:47
14 lines
1631 bytes
 From D7 I remember table.refresh and query.requery or similar. I can't, 
however, find anything like that in D2005. My problem is that I have a 
datagrid that draws data from a dataview containing data as follows:
SELECT *, CONVERT(CHAR(5),fld_hours,8) as Stunden FROM tbl_course'
and when I add a new row to tbl_course, the converted field is not being 
displayed in the datagrid right away (all the other data is being 
displayed correctly though). I have to restart the application in order 
to see the row including the converted field.

How do I get the converted field displayed immediately?

TIA.

Brigitte
Technical Details
Message-ID: <45250d09$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.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-Thread: 1effe6,3a1d1dd0aec04f9e,start
X-Google-Attributes: gid1effe6,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 05 Oct 2006 15:47:40 +0200
From: Brigitte Spatz <brigitteNOSPAM.spatz@svenmahn.de>
Organization: Sven Mahn IT-Systementwicklungen
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
Newsgroups: borland.public.delphi.database.dotnet
Subject: dataview refresh?
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 0640-3, 05/10/2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 217.189.151.221
Message-ID: <45250d09$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1160056073 217.189.151.221 (5 Oct 2006 06:47:53 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail