🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #3176

dbgrid

#3176
From: Stefano
Date: Tue, 24 Sep 2002 17:54
18 lines
1845 bytes
Ciao a tutti, ho la seguente richiesta da farvi.
Utilizzo un database DBIII con il controllo Data. Ho la necessit� di
popolare un DBGrid impostando un criterio.

Mi spiego meglio. Il database ha i seguenti campi: NUM ; COD_CLI ; DESC ;
PREZZO ; IVA
Avrei la necessit� di visualizzare nel DBGrid solo i records che
corrispondono ad un valore, (per esempio tutte le voci che riguardano il
cliente con codice (COD_CLI) uguale a 13) senza visualizzare gli altri
clienti

Il valore lo inserisco con una inputbox quando vado a premere il pulsante,
ma questo non � un problema.

Grazie a tutti, utilizzo il DBGrid (data bound grid control 5.0(SP3)) e non
posso usare stringhe SQL perch� a quanto ho capito e provato, non funzionano
con DBIII (forse mi manca qualche libreria, se cosi fosse potreste
indicarmela?).
Technical Details
Message-ID: <qF1k9.160050$pX1.5744571@news2.tin.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!newsfeed.gamma.ru!Gamma.RU!newsfeeder.edisontel.com!news-out.tin.it!news-in.tin.it!news2.tin.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,5b98180b55045036,start
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2002-09-24 10:56:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!newsfeed.gamma.ru!Gamma.RU!newsfeeder.edisontel.com!news-out.tin.it!news-in.tin.it!news2.tin.it.POSTED!not-for-mail
From: "Stefano" <stefalem@tin.it>
Newsgroups: free.it.visual-basic
Subject: dbgrid
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2483.0001
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2483.0001
Message-ID: <qF1k9.160050$pX1.5744571@news2.tin.it>
Date: Tue, 24 Sep 2002 17:54:30 GMT
NNTP-Posting-Host: 212.171.77.168
X-Complaints-To: newsmaster@tin.it
X-Trace: news2.tin.it 1032890070 212.171.77.168 (Tue, 24 Sep 2002 19:54:30 MET DST)
NNTP-Posting-Date: Tue, 24 Sep 2002 19:54:30 MET DST
Organization: TIN