|
I'm keep getting stuck here. I have a site page which is pulling off an access database (it shows the records on our site). I have a column in the database called "Region"
I am trying to get the page where it will put up records that have a region of 316, and not any other records. Here is the original "if statement" which pulls of the regions. Any ideas on how I can code this to get it to work correctly? Thank you for any help.
If (Len(Request("region")) = 3) Then
If(Request("region") = "swg") Then
region = " AND (Region='316' OR Region='317' OR Region='398')"
Else
region = " AND Region='" & Request("region") & "'"
End If
Else
|