Hi all,
would someone know how to unlock a table in msaccess,vba?
a combobox on update gives me an error table lock
now I tried everything I can think of
'DoCmd.Close acTable, "tmpCatgoryProd uctTable"
' DoCmd.Close acQuery, "qryDistinctCat "
' DoCmd.DeleteObj ect acTable, "tmpCatgoryProd uctTable"
DoCmd.Close acQuery, "qrySelectProdu ctList"
DoCmd.Close acQuery, "qryDistinctCat "
DoCmd.Close acTable, "tmpCatgoryProd uctTable"
DoCmd.Close acQuery, "qrySelectDivis ionProducts"
MsgBox ("afterupdat e")
DoCmd.OpenQuery "qrySelectDivis ionProducts"
but the qry which reads from the tmpCatgoryProdu ctTable, gives me that the table is lock
Ideas please
Daniel
would someone know how to unlock a table in msaccess,vba?
a combobox on update gives me an error table lock
now I tried everything I can think of
'DoCmd.Close acTable, "tmpCatgoryProd uctTable"
' DoCmd.Close acQuery, "qryDistinctCat "
' DoCmd.DeleteObj ect acTable, "tmpCatgoryProd uctTable"
DoCmd.Close acQuery, "qrySelectProdu ctList"
DoCmd.Close acQuery, "qryDistinctCat "
DoCmd.Close acTable, "tmpCatgoryProd uctTable"
DoCmd.Close acQuery, "qrySelectDivis ionProducts"
MsgBox ("afterupdat e")
DoCmd.OpenQuery "qrySelectDivis ionProducts"
but the qry which reads from the tmpCatgoryProdu ctTable, gives me that the table is lock
Ideas please
Daniel
Comment