🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Problema [DataReport + DataEnvironment]

#2561
From: Giovanni
Date: Wed, 02 Apr 2003 20:09
18 lines
1825 bytes
Ciao a tutti.

Il problema � sorto scrivendo un piccolo programma per stampare che fa uso
di un controllo DataReport collegato ad una fonte dati di un oggetto
DataEnvironment.

Mi spiego pi� in dettaglio: il DataEnvironment legge da un DataBase (fatto
in Access97) dei dati, crea un semplice oggetto gerarchico e lo passa al
DataReport.
Nel frattempo, il databese pu� essere modificato da un'altra connessione, ma
il DataEnvironment non se ne accorge!
Come posso far s� che il recordset creato dal DataEnvironment contenga dati
aggiornati?
Esiste qualche metodo appropriato? qualcosa tipo "Reload","Refresh",...?
oppure sto sbagliando tutto?

Grazie.
  Giovanni
Technical Details
Message-ID: <b6fejd$3nf$3@lacerta.tiscalinet.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!213.253.16.105.MISMATCH!mephistopheles.news.clara.net!news.clara.net!skynet.be!skynet.be!news.mailgate.org!draco.tiscalinet.it!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,24dc205253b8b2f1,start
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2003-04-02 11:44:52 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!213.253.16.105.MISMATCH!mephistopheles.news.clara.net!news.clara.net!skynet.be!skynet.be!news.mailgate.org!draco.tiscalinet.it!not-for-mail
From: "Giovanni" <no_reply@mail.it>
Newsgroups: free.it.visual-basic
Subject: Problema [DataReport + DataEnvironment]
Date: Wed, 2 Apr 2003 22:09:59 +0200
Organization: Tiscali Spa
Lines: 20
Message-ID: <b6fejd$3nf$3@lacerta.tiscalinet.it>
NNTP-Posting-Host: ppp-62-10-137-172.dialup.tiscali.it
X-Trace: lacerta.tiscalinet.it 1049312685 3823 62.10.137.172 (2 Apr 2003 19:44:45 GMT)
X-Complaints-To: abuse@tiscali.it
NNTP-Posting-Date: 2 Apr 2003 19:44:45 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300