|
|
Question : textbox value from SQL query
|
|
Hello is it posible to set an textbox value from an SQL query?
For example: Dim sSQL as String sSQL = "SELECT max([Order-id]) FROM Orders;" Inputbox.Value= sSQL
|
Answer : textbox value from SQL query
|
|
Inputbox.Value= DLookup ("max([Order-id]", "Orders", "")
|
|
|
|
|