-

   rss_sql_ru_access_programming

 - e-mail

 

 -

 LiveInternet.ru:
: 16.03.2006
:
:
: 4

:


WHERE

, 06 2014 . 20:52 +
: 1, 2...N
, , : 1, 2...
<>, 0
, " <>" .
:
If 1 > 0 Then
strWhere = "[1] =" & 1 & " AND "
End If
If 2 > 0 Then
strWhere = strWhere  & "[2] =" & 2 & " AND "
End If
..............
If N > 0 Then
strWhere = strWhere  & "[N] =" & N & " AND "
End If
If Len(strWhere) >0 Then
strWhere = "WHERE " & Left(strWhere, Len(strWhere) - 5
End if

?

http://www.sql.ru/forum/1099060/pomogite-sostavit-krasivoe-uslovie-where-po-neskolkim-polyam-so-spiskom


: [1] []
 

:
: 

: ( )

:

  URL