I've a program (concept mimick inventory) and would like to display a history (grid showing items related to employee ID). I had a head full of hair before i began... now i'm bald!
Any help in the right direction would be appreciated!
Select in your recordset, then set the grid's datasource to your recordset:
strSQL = "Select * from myTable Wher EmpID = " & txtEmpID
Set rst = cn.Execute(strSQL)
Grid1.Datasource = rst
assuming you have a valid ADO connection called cn
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.