cmd = "SELECT TOP(200) bol_number, pro_number, client_city, client_state, client_zip, customer_city, customer_state, customer_zip, ship_date FROM " + THESQLTABLE + "WHERE " + fdPrNo + "=pro_number"The code for fdPrNo is this:
fdPrNo = ALLTRIM(UPPER(Request.Form("PRNO")))I know the code in the query isn't correct, but is that where I would go about doing what I want?