J
Joao
I don't have Flexgrid nor Datagrid ocx. What I want to accomplish is this:
Having 3 buttons, one named Concluded and the others I don't need to explain.
When I click the Concluded button, it passes 4 arguments thru a query into a
recordset:
SQLString = "SELECT NrSubscritor, Iniciado, Concluido, Ano, Mes FROM
Processos" & _
" WHERE UserID = " & lngUserNumber & " AND Ano= " & intAno & " AND Mes=
" & intMes & " AND Despacho=YES ORDER BY TimeStamp DESC;"
Of 2 of these 4 arguments the user will must fill before running the querie.
How can I press the button and the resulting query display on a subform?
Trying to use this:
Dim Test As SubForm
Set Test.Form.Recordset = rstSQL
subfrmConcDU.SourceObject = Test
but to no avail...
Having 3 buttons, one named Concluded and the others I don't need to explain.
When I click the Concluded button, it passes 4 arguments thru a query into a
recordset:
SQLString = "SELECT NrSubscritor, Iniciado, Concluido, Ano, Mes FROM
Processos" & _
" WHERE UserID = " & lngUserNumber & " AND Ano= " & intAno & " AND Mes=
" & intMes & " AND Despacho=YES ORDER BY TimeStamp DESC;"
Of 2 of these 4 arguments the user will must fill before running the querie.
How can I press the button and the resulting query display on a subform?
Trying to use this:
Dim Test As SubForm
Set Test.Form.Recordset = rstSQL
subfrmConcDU.SourceObject = Test
but to no avail...