Syntax for multiple WHERE in recordset?
- From: "Kahuna" <none@xxxxxxxxxxxx>
- Date: Fri, 29 Jul 2005 16:51:51 +0200
Hi Folks
Heres what I have (and this work fine BTW):
rst_con_calc.Open "SELECT tbl_conversion.conv_to FROM tbl_conversion WHERE
tbl_conversion.conv_from=" & "'" & cmb_content_from & "'" & "", cnn,
adOpenDynamic, adLockReadOnly
I need another two criteria in the WHERE clause but this syntax is pretty
dark stuff! What I need is something like:
WHERE tbl_conversion.conv_from=" & "'" & cmb_content_from & "'" & AND "_
"tbl_conversion.conv_to=" & "'" & cmb_content_to & "'" & AND "_
"tbl_conversion.conv_typeconvert=" & "'"cmb_typ_conv &"'" & "", cnn,
adOpenDynamic, adLockReadOnly
Does that make any sense at all? Help appreciated.
--
Cheers
------------------------
Kahuna
------------------------
.
- Follow-Ups:
- Re: Syntax for multiple WHERE in recordset?
- From: Bob Butler
- Re: Syntax for multiple WHERE in recordset?
- Prev by Date: Re: Image and ImageList controls
- Next by Date: Re: Syntax for multiple WHERE in recordset?
- Previous by thread: Adding combo box to list view
- Next by thread: Re: Syntax for multiple WHERE in recordset?
- Index(es):
Relevant Pages
|