Re: problem to SELECT using Microsoft Access (posted again, because of posting error)
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Mon, 15 May 2006 22:23:19 -0500
Let's consider code as this:
with ADOQuery1 do begin
Sql.Text:=
'select Column2 ' +
'from Table ' +
'where Column1 = '#39'THREAT_EVENTS'#39;
Open;
// Exception: Parameter Column1 has no default value;
I tested that query. I get an error "syntax error in from clause" which is
becuase Table is a reserved word
changing that to [Table] fixes that error
Using Access database with Jet 4.0 Oledb provider
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- References:
- problem to SELECT using Microsoft Access (posted again, because of posting error)
- From: Robert
- Re: problem to SELECT using Microsoft Access (posted again, because of posting error)
- From: Brian Bushay TeamB
- Re: problem to SELECT using Microsoft Access (posted again, because of posting error)
- From: Robert
- problem to SELECT using Microsoft Access (posted again, because of posting error)
- Prev by Date: Re: Test Program Hangs after reading table
- Next by Date: Re: Connection to Access Database Problem
- Previous by thread: Re: problem to SELECT using Microsoft Access (posted again, because of posting error)
- Next by thread: Re: problem to SELECT using Microsoft Access (posted again, because of posting error)
- Index(es):
Relevant Pages
|
|