I created a VBA that shows a list of vendors and I can not get the item selected after F4.
Public Sub ListaFornecedores()
Dim strSql As StdBEStringBuilder
Set strSql = New StdBEStringBuilder
strSql.Append ("SELECT Fornecedor, Nome FROM Fornecedores")
PSO.Listas.GetF4SQL "Fornecedores", strSql.Value, "Fornecedor, Nome"
End Sub
Does anyone know how to return the selected item?