Here's what I've got:
*****************************
Dim postalcode As String
postalcode = txtpostalcode.Text
Dim title As String
title = ddltitle.SelectedItem.Text
Dim sqlStr As String = "SELECT DISTINCT Last_Name FROM " & PubName & "
WHERE PostalCode=" & postalcode And " Title=" & title ORDER BY
Last_Name"
***********************
Last_Name, PostalCode and Title are columns in my table.
My table is referenced as PubName from a drop dow list.
I just want to know were the error is in this sqlStr since it always
gives me an error in that line. I'm pretty sure it has to do with the
symbols (& " = ). I just can't seem to get it right.
Any clues ??
Thanks
JMT