Syntax 
 | SQL.SearchWithQuery[$](Query[, AltCaption][, ReturnColumn][, ExtraItem]) 
 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Description 
 | Performs a search using a SELECT query, displaying the result in a standard TRADIUM dialog box and returning the selected item as a string. Here the entire row or a specific column can be specified. Optionally, multiple items can be added at the bottom of the SELECT query result. 
  | ||||||||||
See Also 
 | other SQL.Searchxxxxxxxx functions, SearchWithQueryArray. 
 | ||||||||||
Example 
 | Sub Main() Dim sResult As String Dim sQuery As String sQuery = "SELECT Admin, Code, Omschrijving FROM Prm_BTW WHERE Admin = " _ & SQL.AdminCode sResult = SQL.SearchWithQuery(sQuery, "BTW overzicht:", 1, _ "1" & vbTab & "  | ||||||||||