I have the following table:
VENDAS
------------------------------------------------------------------------------------------------------------
VENDA_ID | VENDA_RAZAOSOCIAL | VENDA_CIDADE | VENDA_DATA | VENDA_FORPAGAMENTO | VENDA_VENDEDOR | VENDA_VALOR
And I use the following SELECT
to select sales:
SELECT * FROM VENDAS WHERE VENDA_DATA>=@dataIni and VENDA_DATA<=@dataFinal and VENDA_VENDEDOR = @vendedor
I already have the INSERT, now I need to know how I can pull the vendor so that it appears in the combobox and so I can click on a button to filter
Can anyone help me?