🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

problema data VB e access

#1703
From: Eric Arthur Blair
Date: Thu, 19 Feb 2004 19:44
37 lines
2074 bytes
Ho un problema con il formato data di VB

Quando effettuo una ricerca per data all'interno di un DB access mi compare
il seguente messaggio : "Tipi di dato non corrispondenti nell'espressione di
criterio"

Qui di seguito riporto il codice :

Dim Data As Date

Data1.Recordset.MoveFirst

Data = TextData.Text

CERCA = "entro_il = " & Chr$(34) & Data & Chr$(34)

Data1.Recordset.FindFirst CERCA

Qual � il problema ?!?

In alternativa non posso "inoltrare" una query al DB access tramite ADODC
invece di usare il controllo dati ???Come faccio?!? A quale oggetto devo
affidare l'interrogazione?!?

Grazie per il favore , aLe

----------------------------------------------------------------------
 A volte vorrei vivere nell'aria e rimanere sospeso senza pi� ostacoli
giocare coi mostri delle mie insicurezze
e trasformarli in canzoni come un miracolo ...
 LITFIBA - 1994 -


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.590 / Virus Database: 373 - Release Date: 16/02/2004
Technical Details
Message-ID: <km8Zb.259251$VW.10362365@news3.tin.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newspeer1.nwr.nac.net!solnet.ch!solnet.ch!irazu.switch.ch!switch.ch!newsfeed.nextoneserver.com!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,36e5550b0d82fc6f,start
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2004-02-19 11:44:18 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newspeer1.nwr.nac.net!solnet.ch!solnet.ch!irazu.switch.ch!switch.ch!newsfeed.nextoneserver.com!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mail
From: "Eric Arthur Blair" <aLe4684@NOSPAMlibero.it>
Newsgroups: free.it.visual-basic
Subject: problema data VB e access
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <km8Zb.259251$VW.10362365@news3.tin.it>
Date: Thu, 19 Feb 2004 19:44:16 GMT
NNTP-Posting-Host: 62.211.174.25
X-Complaints-To: newsmaster@tin.it
X-Trace: news3.tin.it 1077219856 62.211.174.25 (Thu, 19 Feb 2004 20:44:16 MET)
NNTP-Posting-Date: Thu, 19 Feb 2004 20:44:16 MET
Organization: TIN