nCRMID=Thisform.search.value&& input box for customer to get from sql db = SQLSETPROP(lnConnHandle, 'asynchronous', .F.) = SQLEXEC(lnConnHandle, 'SELECT * FROM CRMPML1 WHERE ID = ?nCRMID','RV_CRMPML') = SQLCANCEL(lnConnHandle) = SQLDISCONNECT(lnConnHandle) SELECT RV_CRMPMLI used this code to retrieve a certain customer from a sql server table then show the result to a form...