July 24th, 2012, 11:44 PM
Datagrid not supported Refresh after add, delete, ... ?
suppose I have database access:
Dim Conn As ADODB.Connection
Set RS = Nothing
Set RS = New Recordset
Set Conn = New ADODB.Connection
RS.Open "SELECT Fields " & _
"FROM Table WHERE Whatever = ?"
Conn, adOpenStatic, adLockOptimistic
Datagrid.DataSource = RS
when you perform the insert, delete, add new data, datagrid refresh the data can not although I have to use appearance Datagrid.Refresh new data is entered but does not appear, check the data in have access but do not anticipate new output datagrid except close all open programs to emerging new data on the grid, the operations insert, delete, add items via the command. Execute (strSQL ), why not refresh the datagrid? and how to fix?
July 25th, 2012, 10:37 PM
I don't completely understand your question, but here is a link to an excellent database editor that uses a datagrid that I have used for years.
September 17th, 2012, 02:50 AM
what database are you using? are u using sql 2008? or ms.access???