Article View: free.it.visual-basic
Article #1611Re: Lettura dati da tabella access
From: FewerCoffee
Date: Mon, 29 Mar 2004 20:30
Date: Mon, 29 Mar 2004 20:30
27 lines
1868 bytes
1868 bytes
Ciao dall'help di vb6Dim MyVar, MyCheck MyCheck = IsNull(MyVar) ' Restituisce Falso. MyVar = "" MyCheck = IsNull(MyVar) ' Restituisce Falso. MyVar = Null MyCheck = IsNull(MyVar) ' Restituisce Vero.salutipassowww.giocaitalia.it "elvis" <nella.pedron@tin.it> ha scritto nel messaggio news:XDS9c.115989$z23.4938268@news3.tin.it... > Ho il seguente problema : > devo leggere dei dati da una tabella access, > in alcuni casi i campi del record sono vuoti quindi = Null ( ?) > ma in fase di lettura utilizzando vb non riesco a determinare se tale campo > sia appunto = Null > > mi spiego : > > if record.recordset!nomecampo = Null then textn.text="campo vuoto" > > non accade proprio un bel niente > in fase di debug l'istruzione dopo il Then non viene mai eseguita . > Perche? > Grazie > >
Technical Details
Message-ID:
<hH%9c.100190$FJ6.3685065@twister1.libero.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-hub.siol.net!newsfeed1.eu.ignite.net!tiscali!newsfeed1.ip.tiscali.net!inn1.libero.it!twister1.libero.it.POSTED!not-for-mailReferences:
<XDS9c.115989$z23.4938268@news3.tin.it>Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII-7-bit X-Google-Thread: f94ee,72218b787cce42d6 X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2004-03-29 12:30:06 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-hub.siol.net!newsfeed1.eu.ignite.net!tiscali!newsfeed1.ip.tiscali.net!inn1.libero.it!twister1.libero.it.POSTED!not-for-mail From: "FewerCoffee" <passo@LEVAMIgiocaitalia.it> Newsgroups: free.it.visual-basic References: <XDS9c.115989$z23.4938268@news3.tin.it> Subject: Re: Lettura dati da tabella access Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <hH%9c.100190$FJ6.3685065@twister1.libero.it> Date: Mon, 29 Mar 2004 20:30:05 GMT NNTP-Posting-Host: 62.98.124.223 X-Complaints-To: abuse@inwind.it X-Trace: twister1.libero.it 1080592205 62.98.124.223 (Mon, 29 Mar 2004 22:30:05 MET DST) NNTP-Posting-Date: Mon, 29 Mar 2004 22:30:05 MET DST Organization: [Infostrada]